lua: heap-based buffer over-read
Published Apr 10, 2023
7.5
HIGHCVSS 3.1
EPSS 1.42%
Description
In Lua 5.4.3, an erroneous finalizer called during a tail call leads to a heap-based buffer over-read.
Affected products
No data.
No data.
Red Hat Enterprise Linux 6
lua
Not affected
Red Hat Enterprise Linux 7
lua
Not affected
Red Hat Enterprise Linux 8
libreoffice:flatpak/lua
Not affected
Red Hat Enterprise Linux 8
lua
Not affected
Red Hat Enterprise Linux 9
lua
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 6 | lua | Not affected | n/a |
| Red Hat Enterprise Linux 7 | lua | Not affected | n/a |
| Red Hat Enterprise Linux 8 | libreoffice:flatpak/lua | Not affected | n/a |
| Red Hat Enterprise Linux 8 | lua | Not affected | n/a |
| Red Hat Enterprise Linux 9 | lua | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
The bug exists in Lua Interpreter since v5.4.3 and fixed in v5.4.4. RHEL-6, 7, 8 ships Lua-v5.3.4 and prior versions, which does not contains the vulnerable function. And RHEL-9 already ships Lua-v5.4.4 and above, which contains the fix. Hence, none of the Lua versions shipped with Red Hat Enterprise Linux are affected.
References (8)
- http://lua-users.org/lists/lua-l/2021-12/msg00019.html ExploitMailing ListVendor Advisory
- https://access.redhat.com/security/cve/CVE-2021-45985 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2185579 Issue Tracking
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2021-32691 Advisory
- https://github.com/lua/lua/commit/cf613cdc6fa367257fc61c256f63d917350858b5 Patch
- https://nvd.nist.gov/vuln/detail/CVE-2021-45985
- https://www.cve.org/CVERecord?id=CVE-2021-45985
- https://www.lua.org/bugs.html#5.4.3-11 Vendor Advisory
| Link | Providers | Tags |
|---|---|---|
| http://lua-users.org/lists/lua-l/2021-12/msg00019.html | ExploitMailing ListVendor Advisory | |
| https://access.redhat.com/security/cve/CVE-2021-45985 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2185579 | Issue Tracking | |
| https://euvd.enisa.europa.eu/vulnerability/EUVD-2021-32691 | Advisory | |
| https://github.com/lua/lua/commit/cf613cdc6fa367257fc61c256f63d917350858b5 | Patch | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-45985 | ||
| https://www.cve.org/CVERecord?id=CVE-2021-45985 | ||
| https://www.lua.org/bugs.html#5.4.3-11 | Vendor Advisory |
Change history (0)
No recorded changes yet.