Search vulnerabilities

Results 17

Export CSV
CVE-2020-24370

lua: segmentation fault in getlocal and setlocal functions in ldebug.c

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).

CVSS 3.1 · 5.3 Medium EPSS 3.8% KEV · Not listed
Vendors
Debian Fedoraproject Lua and 1 more
Products
Debian Linux Fedora Lua and 1 more
CVE-2021-45985

lua: heap-based buffer over-read

In Lua 5.4.3, an erroneous finalizer called during a tail call leads to a heap-based buffer over-read.

CVSS 3.1 · 7.5 High EPSS 1.4% KEV · Not listed
Vendors
Lua
Products
Lua
CVE-2014-5461

lua: overflow flaw in vararg functions

Buffer overflow in the vararg functions in ldo.c in Lua 5.1 through 5.2.x before 5.2.3 allows context-dependent attackers to cause a denial of service (crash) via a small number of arguments to a function with a large number of fixed arguments.

CVSS 2.0 · 5.0 Medium EPSS 12.0% KEV · Not listed
Vendors
Canonical Debian Lua and 2 more
Products
CVE-2020-15945

lua: segmentation fault in changedline in ldebug.c

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.

CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
Vendors
Lua
Products
Lua
CVE-2022-33099

lua: heap buffer overflow in luaG_errormsg() in ldebug.c due to uncontrolled recursion in error handling

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.

CVSS 3.1 · 7.5 High EPSS 2.8% KEV · Not listed
CVE-2022-28805

lua: heap buffer overread

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.

CVSS 3.1 · 9.1 Critical EPSS 3.0% KEV · Not listed
CVE-2021-44964

lua: use after free allows Sandbox Escape

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.

CVSS 3.1 · 6.3 Medium EPSS < 1% KEV · Not listed
Vendors
CVE-2021-44647

lua: type confusion in funcnamefromcode in ldebug.c could result in local DoS

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.

CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
Vendors
Products
CVE-2021-43519

lua: stack overflow in lua_resume of ldo.c allows a DoS via a crafted script file

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.

CVSS 3.1 · 5.5 Medium EPSS 1.2% KEV · Not listed
Products
CVE-2021-32921

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.

CVSS 3.1 · 5.9 Medium EPSS 1.6% KEV · Not listed
Vendors
Debian Fedoraproject Lua and 1 more
Products
Debian Linux Fedora Lua and 1 more
CVE-2021-32918

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.

CVSS 3.1 · 7.5 High EPSS 2.1% KEV · Not listed
Vendors
Debian Fedoraproject Lua and 1 more
Products
Debian Linux Fedora Lua and 1 more
CVE-2020-24371

lua: mishandles the interaction between barriers and the sweep phase leading to a memory access violation involving collectgarbage

lgc.c in Lua 5.4.0 mishandles the interaction between barriers and the sweep phase, leading to a memory access violation involving collectgarbage.

CVSS 3.1 · 5.3 Medium EPSS 1.7% KEV · Not listed
Vendors
Lua
Products
Lua
CVE-2020-24369

lua: NULL pointer dereference when trying to access debug information via the line hook of a stripped function

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.

CVSS 3.1 · 7.5 High EPSS 1.7% KEV · Not listed
Vendors
Lua
Products
Lua
CVE-2020-24342

lua: buffer overflow in luaO_pushvfstring

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.

CVSS 3.1 · 7.8 High EPSS 1.1% KEV · Not listed
Vendors
Products
CVE-2020-15889

lua: heap-based buffer over-read in lgc.c

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.

CVSS 3.1 · 9.8 Critical EPSS 2.2% KEV · Not listed
Vendors
Lua
Products
Lua
CVE-2020-15888

lua: stack resizes and garbage collection leads to heap-based buffer overflow

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.

CVSS 3.1 · 8.8 High EPSS 2.4% KEV · Not listed
Vendors
Lua
Products
Lua
CVE-2019-6706

lua: use-after-free in lua_upvaluejoin in lapi.c resulting in denial of service

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.

CVSS 3.1 · 7.5 High EPSS 17.4% KEV · Not listed
Vendors