Out-of-bounds Write Affecting lua package, versions [5.4.2,5.4.4)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
1.23% (68th 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 Learn

Learn about Out-of-bounds Write vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-LUA-2327378
  • published29 Dec 2021
  • disclosed9 Nov 2021
  • creditUnknown

Introduced: 9 Nov 2021

CVE-2021-43519  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade lua to version 5.4.4 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Write. Stack overflow in lua_resume of ldo.c in Lua Interpreter 5.1.0~5.4.4 allows attackers to perform a Denial of Service via a crafted script file.

References

CVSS Base Scores

version 3.1