Use After Free Affecting lua5.3 package, versions <5.3.5-r2


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

Exploit Maturity
Mature
EPSS
1.81% (88th 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 Use After Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-ALPINE39-LUA53-449717
  • published23 Jan 2019
  • disclosed23 Jan 2019

Introduced: 23 Jan 2019

CVE-2019-6706  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade Alpine:3.9 lua5.3 to version 5.3.5-r2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream lua5.3 package and not the lua5.3 package as distributed by Alpine. See How to fix? for Alpine:3.9 relevant fixed versions and status.

Lua 5.3.5 has a use-after-free in lua_upvaluejoin in lapi.c. For example, a crash outcome might be achieved by an attacker who is able to trigger a debug.upvaluejoin call in which the arguments have certain relationships.

CVSS Scores

version 3.1