CVE-2022-28805
9.1critical
singlevar in lparser.c in Lua from (including) 5.4.0 up to (excluding) 5.4.4 lacks a certain luaKexp2anyregup call, leading to a heap-based…
- Severity
- 9.1critical CVSS:3.1 by NVD
- Exploit likelihood
- 2.57% (higher than 86% of CVEs)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- BIT-LUA-2022-28805
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| lua lua | from 5.4.0 before 5.4.5 | NVD |
| fedoraproject fedora | 35, 36 | NVD |
| lua (Bitnami) | from 5.4.0 before 5.4.5 | Bitnami Vulnerability Database |
All scores
| NVD | 9.1critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H |
| NVD | 6.4medium CVSS:2.0 | AV:N/AC:L/Au:N/C:P/I:N/A:P |
| Bitnami Vulnerability Database | critical rating |
Classification
What each source says
CVE List
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.
NVD (es)
singlevar en lparser.c en Lua desde (incluyendo) 5.4.0 hasta (excluyendo) 5.4.4 carece de una determinada llamada a luaK_exp2anyregup, lo que lleva a una sobrelectura del búfer basada en la pila que podría afectar a un sistema que compila código Lua no fiable
References
| https://lua-users.org/lists/lua-l/2022-02/msg00001.html | advisory, exploit, mailing-list, third-party-advisory | |
| https://lua-users.org/lists/lua-l/2022-02/msg00070.html | advisory, exploit, mailing-list, third-party-advisory | |
| https://lua-users.org/lists/lua-l/2022-04/msg00009.html | advisory, exploit, mailing-list, third-party-advisory | |
| https://github.com/lua/lua/commit/1f3c6f4534c6411313361697d98d1145a1f030fa | advisory, patch, third-party-advisory | |
| https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RJNJ66IFDUKWJJZXHGOLRGIA3HWWC36R/ | advisory, third-party-advisory, vendor-advisory | |
| https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UHYZOEFDVLVAD6EEP4CDW6DNONIVVHPA/ | advisory, third-party-advisory, vendor-advisory | |
| https://security.gentoo.org/glsa/202305-23 | advisory, third-party-advisory, vendor-advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2022-28805 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-28805 changed 2024-08-03 | CVE Terms of Use |
| NVD | CVE-2022-28805 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-LUA-2022-28805 changed 2026-09-08 | Apache-2.0 |