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


Severity

Recommended
medium

Based on CentOS security rating

    Threat Intelligence

    Exploit Maturity
    Mature
    EPSS
    2.98% (91st 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 ID SNYK-CENTOS8-LUALIBS-2017462
  • published 26 Jul 2021
  • disclosed 10 Jan 2019

How to fix?

Upgrade Centos:8 lua-libs to version 0:5.3.4-11.el8 or higher.

NVD Description

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

version 3.1
Expand this section

NVD

7.5 high
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    None
  • Integrity (I)
    None
  • Availability (A)
    High