CVE-2019-19391

In LuaJIT through 2.0.5, as used in Moonjit before 2.1.2 and other products, debug.getinfo has a type confusion issue that leads to arbitrary memory write or…

published November 29, 2019

CVSS
—
EPSS
1%
Percentile
72.2
In the wild
Unconfirmed
What it is

⚠️ LuaJIT versions up to 2.0.5 are hiding a sneaky type confusion issue lurking in the debug.getinfo function, potentially leading to arbitrary memory access! Think of it like a hotel where staff can enter any room without proper verification — if someone has the wrong keycard, they could snoop around or even mess with your belongings! With this vulnerability, an attacker could exploit the debug library's flaws to read or write arbitrary memory, leading to unpredictable behavior or even system crashes. While it might sound chaotic, it’s crucial to understand that the LuaJIT project owner claims the debug library has no security guarantees, which means this could be a serious blind spot for users!

Put simply

Think of it like a hotel where staff can enter any room without proper verification — if someone has the wrong keycard, they could snoop around or even mess with your belongings! In LuaJIT versions through 2.0.5, a type confusion in the debug.getinfo function allows attackers to manipulate memory operations due to mishandled stack levels and options. This can lead to unintended consequences given the library's intended lack of security assurances.

What to do

With this vulnerability, an attacker could exploit the debug library's flaws to read or write arbitrary memory, leading to unpredictable behavior or even system crashes. While it might sound chaotic, it’s crucial to understand that the LuaJIT project owner claims the debug library has no security guarantees, which means this could be a serious blind spot for users! To safeguard your application, consider upgrading to LuaJIT 2.1.2 or later, where this issue is addressed. Additionally, review your use of the debug library to ensure it aligns with your security practices and expectations. You've got this! A proactive approach will keep your projects under wraps and secure. 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.01396 · 72.2th percentile
Published
2019-11-29T15:18Z
EPSS history
Timeline
  • 29 NOV 15:18Z
    In LuaJIT through 2.0.5, as used in Moonjit before 2.1.2 and other products, debug.getinfo has a type confusion issue that leads to arbitrary memory write or…
    cvelistv5