Vulnerability · Published Apr 8, 2022 · Assigned by mitre

CVE-2022-28805

Critical 9.1

In plain English

A critical-severity security flaw in the lua package (AlmaLinux). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 3.0% (higher than 87% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)9.1Critical
Exploit odds (30 days)3.0%top 12.7% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:9lua5.4.4-3.el9ALSA-2023:2582
AlmaLinux:9lua-devel5.4.4-3.el9ALSA-2023:2582
AlmaLinux:9lua-libs5.4.4-3.el9ALSA-2023:2582
Alpine:v3.20lua5.45.4.4-r4ALPINE-CVE-2022-28805
Alpine:v3.21lua5.45.4.4-r4ALPINE-CVE-2022-28805
Alpine:v3.22lua5.45.4.4-r4ALPINE-CVE-2022-28805
Alpine:v3.23lua5.45.4.4-r4ALPINE-CVE-2022-28805
Alpine:v3.24lua5.45.4.4-r4ALPINE-CVE-2022-28805
Debian:12lua5.45.4.4-2DEBIAN-CVE-2022-28805
Debian:13lua5.45.4.4-2DEBIAN-CVE-2022-28805
Debian:14lua5.45.4.4-2DEBIAN-CVE-2022-28805

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

References