Incorrect Calculation Affecting lua package, versions <0:5.3.4-12.el8
Threat Intelligence
EPSS
0.55% (78th
percentile)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-RHEL8-LUA-4166696
- published 26 Jul 2021
- disclosed 24 Jul 2020
Introduced: 24 Jul 2020
CVE-2020-24370 Open this link in a new tabHow to fix?
Upgrade RHEL:8 lua to version 0:5.3.4-12.el8 or higher.
This issue was patched in RHSA-2021:4510.
NVD Description
Note: Versions mentioned in the description apply only to the upstream lua package and not the lua package as distributed by RHEL.
See How to fix? for RHEL:8 relevant fixed versions and status.
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).
References
- https://access.redhat.com/security/cve/CVE-2020-24370
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/E6KONNG6UEI3FMEOY67NDZC32NBGBI44/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QXYMCIUNGK26VHAYHGP5LPW56G2KWOHQ/
- http://lua-users.org/lists/lua-l/2020-07/msg00324.html
- https://github.com/lua/lua/commit/a585eae6e7ada1ca9271607a4f48dfb17868ab7b
- https://lists.debian.org/debian-lts-announce/2020/09/msg00019.html
- https://access.redhat.com/errata/RHSA-2021:4510
- https://lists.debian.org/debian-lts-announce/2023/06/msg00031.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/E6KONNG6UEI3FMEOY67NDZC32NBGBI44/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QXYMCIUNGK26VHAYHGP5LPW56G2KWOHQ/
CVSS Scores
version 3.1