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, 90.3th percentile (scored ); unchanged over 30 days. About EPSS.
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 exploits and proof-of-concept code
2 public repositories with exploit or proof-of-concept code for this CVE:
- RenukaSelvar/lua_CVE-2020-24370_AfterPatch (last pushed 2024-11-06)
- RenukaSelvar/lua_CVE-2020-24370 (last pushed 2024-11-06)
Also mentioned in 2 other repositories (ARPSyndicate/cvemon, Live-Hack-CVE/CVE-2020-24370). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
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)
- FEDORA-2020-d7ed9f18ff (vendor-advisory, Third Party Advisory)
- FEDORA-2020-c83556709c (vendor-advisory, Third Party Advisory)
- [debian-lts-announce] 20200926 [SECURITY] [DLA 2381-1] lua5.3 security update (mailing-list, Mailing List, Third Party Advisory)
- [debian-lts-announce] 20230622 [SECURITY] [DLA 3469-1] lua5.3 security update (mailing-list, Third Party Advisory)
This CVE has public exploit evidence. See the latest CVEs with public exploits.