CVE-2022-28805
CRITICAL severity · CVSS 9.1 · Out-of-bounds read
9.1CVSS CRITICAL
Summary
singlevar in lparser.c in Lua from (including) 5.4.0 up to (excluding) 5.4.4 lacks a certain luaK_exp2anyregup call, leading to a heap-based buffer over-read that might affect a system that compiles untrusted Lua code.
Impact & exploitability
Attack vectorNetwork
Attack complexityLow
Privileges requiredNone
User interactionNone
Confidentiality impactHigh
Integrity impactNone
Availability impactHigh
Exploit probability (EPSS)3%
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Affected products we track (1)
Recommendation
Apply the vendor fix promptly. Open any affected product above for its exact safe version.
Official patch: https://github.com/lua/lua/commit/1f3c6f4534c6411313361697d98d1145a1f030fa ↗
Additional information
- NVD record
- https://github.com/lua/lua/commit/1f3c6f4534c6411313361697d98d1145a1f030faPatch
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RJNJ66IFDUKWJJZXHGOLRGIA3HWWC36R/Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UHYZOEFDVLVAD6EEP4CDW6DNONIVVHPA/Advisory
- https://security.gentoo.org/glsa/202305-23Advisory
- https://lua-users.org/lists/lua-l/2022-02/msg00001.htmlAdvisory
- https://lua-users.org/lists/lua-l/2022-02/msg00070.htmlAdvisory
- https://lua-users.org/lists/lua-l/2022-04/msg00009.htmlAdvisory