CVE-2020-24370 Integer overflow in n/a
An integer overflow in Lua's debug functions causes a segmentation fault, leading to denial of service.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2020-24370?
CVE-2020-24370 is a medium-severity vulnerability in Debian Debian Linux, published on 17 Aug 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.
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).
Weakness: CWE-191
Which versions are affected by CVE-2020-24370?
1 open source package ship an affected version, including lua. It affects 3 products.
| Package | Affected | Fixed in |
|---|---|---|
lua Bitnami | From 5.2.0 | 5.2.4, 5.3.6, 5.4.1 |
Linux distribution packages (18)
lua AlmaLinux:8 | All versions | 5.3.4-12.el8 |
lua-devel AlmaLinux:8 | All versions | 5.3.4-12.el8 |
lua-libs AlmaLinux:8 | All versions | 5.3.4-12.el8 |
lua Red Hat:enterprise_linux:8::appstream | All versions | 0:5.3.4-12.el8 |
lua-debuginfo Red Hat:enterprise_linux:8::appstream | All versions | 0:5.3.4-12.el8 |
lua-debugsource Red Hat:enterprise_linux:8::appstream | All versions | 0:5.3.4-12.el8 |
lua-libs-debuginfo Red Hat:enterprise_linux:8::appstream | All versions | 0:5.3.4-12.el8 |
lua Red Hat:enterprise_linux:8::baseos | All versions | 0:5.3.4-12.el8 |
lua-debuginfo Red Hat:enterprise_linux:8::baseos | All versions | 0:5.3.4-12.el8 |
lua-debugsource Red Hat:enterprise_linux:8::baseos | All versions | 0:5.3.4-12.el8 |
lua-libs Red Hat:enterprise_linux:8::baseos | All versions | 0:5.3.4-12.el8 |
lua-libs-debuginfo Red Hat:enterprise_linux:8::baseos | All versions | 0:5.3.4-12.el8 |
lua Red Hat:enterprise_linux:8::crb | All versions | 0:5.3.4-12.el8 |
lua-debuginfo Red Hat:enterprise_linux:8::crb | All versions | 0:5.3.4-12.el8 |
lua-debugsource Red Hat:enterprise_linux:8::crb | All versions | 0:5.3.4-12.el8 |
lua-devel Red Hat:enterprise_linux:8::crb | All versions | 0:5.3.4-12.el8 |
lua-libs-debuginfo Red Hat:enterprise_linux:8::crb | All versions | 0:5.3.4-12.el8 |
lua Rocky Linux:8 | All versions | 0:5.3.4-12.el8 |
Products include Debian Debian Linux, Fedoraproject Fedora, Lua Lua.
How do I fix CVE-2020-24370?
Upgrade lua to a fixed version for your release line: 5.2.4, 5.3.6 or 5.4.1.
Is CVE-2020-24370 being exploited?
There is no known exploitation of CVE-2020-24370 in the wild and no public exploit code.
Public exploit code: 2 proofs of concept on GitHub.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as ALSA-2021:4510, AZL-41149, BIT-lua-2020-24370, DEBIAN-CVE-2020-24370, DLA-2381-1, GHSA-gfr4-c37g-mm3v and 10 more.