Use After Free Affecting lua package, versions <0:5.3.4-11.el8


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
17.22% (97th 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-RHEL8-LUA-3637586
  • published26 Jul 2021
  • disclosed10 Jan 2019

Introduced: 10 Jan 2019

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

How to fix?

Upgrade RHEL:8 lua to version 0:5.3.4-11.el8 or higher.
This issue was patched in RHSA-2019:3706.

NVD Description

Note: Versions mentioned in the description apply only to the upstream lua package and not the lua package as distributed by RHEL. See How to fix? for RHEL:8 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 Base Scores

version 3.1