Buffer overflow in Lua
CVE-2020-24342
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.011, 65.8th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Lua — versions 5.4.0
- Fedoraproject Fedora — versions 33
Weakness classification (CWE)
References
- lua-users.org/lists/lua-l/2020-07/msg00052.html (Exploit, Mailing List, Vendor Advisory)
- github.com/lua/lua/commit/34affe7a63fc5d842580a9f23616d057e17dfe27 (Patch, Third Party Advisory)
- FEDORA-2020-38e35de8aa (vendor-advisory)