CVE-2020-24370Lua
Medium 5.3 No auth needed
Follow: this CVE · Lua · Lua We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 5.3
- EPSS
- 3.8% probability of exploitation in 30 days · percentile 91
- Auth required
- No
- Published
- Aug 17, 2020
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-191
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
What happens
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).
What to do
- Apply the vendor's security update for Lua.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| lua | lua | 5.2.0 |
| lua | lua | 5.2.0 |
| lua | lua | 5.2.0 |
| lua | lua | 5.2.1 |
| lua | lua | 5.2.2 |
| lua | lua | 5.2.3 |
| lua | lua | 5.3.0 |
| lua | lua | 5.3.0 |
| lua | lua | 5.3.0 |
| lua | lua | 5.3.1 |
| lua | lua | 5.3.2 |
| lua | lua | 5.3.3 |
| lua | lua | 5.3.4 |
| lua | lua | 5.3.5 |
| lua | lua | 5.4.0 |
| lua | lua | 5.4.0 |
| lua | lua | 5.4.0 |
| fedoraproject | fedora | 31 |
| fedoraproject | fedora | 32 |
| debian | debian_linux | 9.0 |
Official sources
References
Links published by the sources. Open them with care.
- lua-users.org Exploit Mailing List Vendor Advisory
- github.com Patch Third Party Advisory
- lists.debian.org Mailing List Third Party Advisory
- lists.debian.org Third Party Advisory
- lists.fedoraproject.org Third Party Advisory
- lists.fedoraproject.org Third Party Advisory