Vulnerability · Published Aug 17, 2020 · Assigned by mitre
CVE-2020-24370
Medium 5.3
In plain English
A medium-severity security flaw in the lua package (AlmaLinux). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 3.8% (higher than 90% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)5.3Medium
Exploit odds (30 days)3.8%top 9.9% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack tooling1Public PoC
Official description
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).
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | lua | 5.3.4-12.el8 | ALSA-2021:4510 |
| AlmaLinux:8 | lua-devel | 5.3.4-12.el8 | ALSA-2021:4510 |
| AlmaLinux:8 | lua-libs | 5.3.4-12.el8 | ALSA-2021:4510 |
| Debian:12 | lua5.3 | 5.3.6-1 | DEBIAN-CVE-2020-24370 |
| Debian:13 | lua5.3 | 5.3.6-1 | DEBIAN-CVE-2020-24370 |
| Debian:14 | lua5.3 | 5.3.6-1 | DEBIAN-CVE-2020-24370 |
| Debian:12 | lua5.4 | 5.4.1-1 | DEBIAN-CVE-2020-24370 |
| Debian:13 | lua5.4 | 5.4.1-1 | DEBIAN-CVE-2020-24370 |
| Debian:14 | lua5.4 | 5.4.1-1 | DEBIAN-CVE-2020-24370 |
| Rocky Linux:8 | lua | 0:5.3.4-12.el8 | RLSA-2021:4510 |
Affected products (as reported)
References
- http://lua-users.org/lists/lua-l/2020-07/msg00324.html
- https://github.com/lua/lua/commit/a585eae6e7ada1ca9271607a4f48dfb17868ab7b
- FEDORA-2020-d7ed9f18ff vendor-advisory
- FEDORA-2020-c83556709c vendor-advisory
- [debian-lts-announce] 20200926 [SECURITY] [DLA 2381-1] lua5.3 security update mailing-list
- [debian-lts-announce] 20230622 [SECURITY] [DLA 3469-1] lua5.3 security update mailing-list