CVE-2022-28805
9.1
CRITICAL
CVSS 3.1
EPSS 0.18%
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.
How to fix CVE-2022-28805
To remediate CVE-2022-28805, upgrade the affected package to a fixed version below.
- Alpine/lua5.4—upgrade to 5.4.3-r1 or later
- Bitnami/lua—upgrade to 5.4.5 or later
- —no fix listed
Is CVE-2022-28805 being exploited?
Low — EPSS is 0.2%, meaning exploitation activity has not been observed at scale.
Affected packages (3)
- from 0, < 5.4.3-r1
- >= 5.4.0, < 5.4.5
- from 0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H |
References (10)
- ADVISORYsecurity.alpinelinux.org/vuln/CVE-2022-28805
- ADVISORYsecurity-tracker.debian.org/tracker/CVE-2022-28805
- WEBgithub.com/lua/lua/commit/1f3c6f4534c6411313361697d98d1145a1f030fa
- WEBlists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RJNJ66IFDUKWJJZXHGOLRGIA3HWWC36R/