Out-of-bounds Read Affecting lua package, versions [,5.4.1)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
1.22% (79th 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-UNMANAGED-LUA-2319493
  • published14 Dec 2021
  • disclosed21 Jul 2020
  • creditUnknown

Introduced: 21 Jul 2020

CVE-2020-15888  (opens in a new tab)
CWE-125  (opens in a new tab)
CWE-416  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade lua to version 5.4.1 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Read. Lua through 5.4.0 mishandles the interaction between stack resizes and garbage collection, leading to a heap-based buffer overflow, heap-based buffer over-read, or use-after-free.

CVSS Base Scores

version 3.1