Integer Underflow Affecting lua53-static package, versions <0:5.3.5-7.amzn2.0.1


Severity

Recommended
low

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.29% (69th 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-AMZN2-LUA53STATIC-1684289
  • published27 Sept 2021
  • disclosed17 Aug 2020

Introduced: 17 Aug 2020

CVE-2020-24370  (opens in a new tab)
CWE-191  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 lua53-static to version 0:5.3.5-7.amzn2.0.1 or higher.
This issue was patched in ALAS2-2020-1492.

NVD Description

Note: Versions mentioned in the description apply only to the upstream lua53-static package and not the lua53-static package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 relevant fixed versions and status.

ldebug.c in Lua 5.4.0 allows a negation overflow and segmentation fault in getlocal and setlocal, as demonstrated by getlocal(3,2^31).

CVSS Scores

version 3.1