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


Severity

Recommended
low

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.23% (61st 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-RHEL9-LUALIBS-2887864
  • published11 Apr 2022
  • disclosed8 Apr 2022

Introduced: 8 Apr 2022

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

How to fix?

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

NVD Description

Note: Versions mentioned in the description apply only to the upstream lua-libs package and not the lua-libs package as distributed by RHEL. See How to fix? for RHEL: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 Scores

version 3.1