Out-of-bounds Read Affecting lua package, versions <0:5.4.4-3.el9


Severity

Recommended
low

Based on AlmaLinux security rating.

Threat Intelligence

EPSS
0.23% (62nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ALMALINUX9-LUA-5644855
  • published28 May 2023
  • disclosed9 May 2023

Introduced: 9 May 2023

CVE-2022-28805  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade AlmaLinux:9 lua to version 0:5.4.4-3.el9 or higher.
This issue was patched in ALSA-2023:2582.

NVD Description

Note: Versions mentioned in the description apply only to the upstream lua package and not the lua package as distributed by AlmaLinux. See How to fix? for AlmaLinux:9 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1