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 (63.9th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 64th percentile — 63.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.011 · newest: 0.011 · change: 0.000
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)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
Frequently asked questions
- What is CVE-2020-24342?
- CVE-2020-24342 is a high-severity vulnerability in Lua, classified under Improper Restriction of Operations within the Bounds of a Memory Buffer. CVSS score: 7.8/10. Published 2020-08-13.
- How severe is CVE-2020-24342?
- High severity. CVSS v3 base score is 7.8 out of 10.