Integer overflow in Lua
CVE-2020-24370
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).
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L.
EPSS exploit prediction
EPSS: 0.038 (89.7th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 90th percentile — 89.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.038 · newest: 0.038 · change: 0.000
Affected products
- Lua — versions 5.2.0, 5.2.1, 5.2.2
- Debian Linux — versions 9.0
- Fedoraproject Fedora — versions 31, 32
Weakness classification (CWE)
Public proof-of-concept exploits
References
- lua-users.org/lists/lua-l/2020-07/msg00324.html (Exploit, Mailing List, Vendor Advisory)
- github.com/lua/lua/commit/a585eae6e7ada1ca9271607a4f48dfb17868ab7b (Patch, Third Party Advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory, Third Party Advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory, Third Party Advisory)
- lists.debian.org/debian-lts-announce/2020/09/msg00019.html (mailing-list, Mailing List, Third Party Advisory)
- lists.debian.org/debian-lts-announce/2023/06/msg00031.html (mailing-list, Third Party Advisory)
Frequently asked questions
- What is CVE-2020-24370?
- CVE-2020-24370 is a medium-severity vulnerability in Lua, classified under Integer Underflow. CVSS score: 5.3/10. Published 2020-08-17.
- How severe is CVE-2020-24370?
- Medium severity. CVSS v3 base score is 5.3 out of 10.
- Is CVE-2020-24370 known to be exploited?
- 5 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.