CVE History
| CVE | Affected | Published | CVSS v3 | CVSS v2 |
|---|---|---|---|---|
| = 5.4.3, >= 5.4.0, < 5.4.4 | 7.5 HIGH | — | ||
In Lua 5.4.3, an erroneous finalizer called during a tail call leads to a heap-based buffer over-read. | ||||
| >= 5.4.2, <= 5.4.4 | 7.5 HIGH | 5 MEDIUM | ||
An issue in the component luaG_runerror of Lua v5.4.4 and below leads to a heap-buffer overflow when a recursive error occurs. | ||||
| = *, >= 5.4.0, < 5.4.5 | 9.1 CRITICAL | 6.4 MEDIUM | ||
singlevar in lparser.c in Lua from (including) 5.4.0 up to (excluding) 5.4.4 lacks a certain luaK_exp2anyregup call, leading to a heap-based buffer over-read that might affect a system that compiles untrusted Lua code. | ||||
| >= 5.4.0, <= 5.4.3 | 6.3 MEDIUM | 4.3 MEDIUM | ||
Use after free in garbage collector and finalizer of lgc.c in Lua interpreter 5.4.0~5.4.3 allows attackers to perform Sandbox Escape via a crafted script file. | ||||
| = 5.4.3 | 5.5 MEDIUM | 2.1 LOW | ||
Lua v5.4.3 and above are affected by SEGV by type confusion in funcnamefromcode function in ldebug.c which can cause a local denial of service. | ||||
| >= 5.4.0, < 5.4.4, >= 5.1.0, < 5.3.5 | 5.5 MEDIUM | 4.3 MEDIUM | ||
Stack overflow in lua_resume of ldo.c in Lua Interpreter 5.1.0~5.4.4 allows attackers to perform a Denial of Service via a crafted script file. | ||||
| = 5.2.0, = 5.3.0 | 7.5 HIGH | 5 MEDIUM | ||
An issue was discovered in Prosody before 0.11.9. Default settings are susceptible to remote unauthenticated denial-of-service (DoS) attacks via memory exhaustion when running under Lua 5.2 or Lua 5.3. | ||||
| >= 5.2.0 | 5.9 MEDIUM | 4.3 MEDIUM | ||
An issue was discovered in Prosody before 0.11.9. It does not use a constant-time algorithm for comparing certain secret strings when running under Lua 5.2 or later. This can potentially be used in a timing attack to reveal the contents of secret strings to an attacker. | ||||
| = 5.4.0 | 5.3 MEDIUM | 5 MEDIUM | ||
lgc.c in Lua 5.4.0 mishandles the interaction between barriers and the sweep phase, leading to a memory access violation involving collectgarbage. | ||||
| = 5.4.0, = 5.2.1, = 5.2.2, = 5.3.5, = 5.3.0, = 5.2.0, = 5.2.3, = 5.3.1, = 5.3.2, = 5.3.3, = 5.3.4 | 5.3 MEDIUM | 5 MEDIUM | ||
ldebug.c in Lua 5.4.0 allows a negation overflow and segmentation fault in getlocal and setlocal, as demonstrated by getlocal(3,2^31). | ||||
| = 5.4.0 | 7.5 HIGH | 5 MEDIUM | ||
ldebug.c in Lua 5.4.0 attempts to access debug information via the line hook of a stripped function, leading to a NULL pointer dereference. | ||||
| = 5.4.0 | 7.8 HIGH | 6.8 MEDIUM | ||
Lua through 5.4.0 allows a stack redzone cross in luaO_pushvfstring because a protection mechanism wrongly calls luaD_callnoyield twice in a row. | ||||
| = *, >= 5.3.1, < 5.4.0 | 5.5 MEDIUM | 2.1 LOW | ||
Lua 5.4.0 (fixed in 5.4.1) has a segmentation fault in changedline in ldebug.c (e.g., when called by luaG_traceexec) because it incorrectly expects that an oldpc value is always updated upon a return of the flow of control to a function. | ||||
| = 5.4.0 | 9.8 CRITICAL | 7.5 HIGH | ||
Lua 5.4.0 has a getobjname heap-based buffer over-read because youngcollection in lgc.c uses markold for an insufficient number of list members. | ||||
| = *, = 5.4.0 | 8.8 HIGH | 6.8 MEDIUM | ||
Lua through 5.4.0 mishandles the interaction between stack resizes and garbage collection, leading to a heap-based buffer overflow, heap-based buffer over-read, or use-after-free. | ||||
| = 5.3.5 | 7.5 HIGH | 5 MEDIUM | ||
Lua 5.3.5 has a use-after-free in lua_upvaluejoin in lapi.c. For example, a crash outcome might be achieved by an attacker who is able to trigger a debug.upvaluejoin call in which the arguments have certain relationships. | ||||