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


Severity

Recommended
0.0
medium
0
10

Based on Amazon 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-AMZN2022-LUALIBSDEBUGINFO-3101503
  • published4 Nov 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 Amazon-Linux:2022 lua-libs-debuginfo to version 0:5.4.4-3.amzn2022.0.1 or higher.
This issue was patched in ALAS2022-2022-176.

NVD Description

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