Bug 1870306 (CVE-2020-24372)

Summary: CVE-2020-24372 luajit: out-of-bounds read in lj_err_run function in lj_err.c
Product: [Other] Security Response Reporter: Guilherme de Almeida Suckevicz <gsuckevi>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: igor.raits, jjoyce, jschluet, kbasil, lhh, lpeer, mburns, mcooper, oliver, rcernich, sclewis, siddhesh, slinaber
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-10-28 03:01:24 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1870307, 1870308, 1870309    
Bug Blocks: 1870310    

Description Guilherme de Almeida Suckevicz 2020-08-19 17:52:36 UTC
LuaJIT through 2.1.0-beta3 has an out-of-bounds read in lj_err_run in lj_err.c.

Reference:
https://github.com/LuaJIT/LuaJIT/issues/603

Comment 1 Guilherme de Almeida Suckevicz 2020-08-19 17:53:02 UTC
Created luajit tracking bugs for this issue:

Affects: epel-all [bug 1870308]
Affects: fedora-all [bug 1870309]
Affects: openstack-rdo [bug 1870307]

Comment 4 Mark Cooper 2020-08-27 03:45:01 UTC
External References:

https://github.com/LuaJIT/LuaJIT/issues/603

Comment 7 Mark Cooper 2020-08-27 08:20:08 UTC
Statement:

OpenShift ServiceMesh (OSSM) does package a vulnerable version of luajit. However, a potential attacker would require enough privileges to be able to influence the envoy configuration to modify the lua rules in order to cause the out-of-bounds (OOB) read. Hence for OSSM the impact is low.

Comment 11 Mark Cooper 2021-10-28 03:01:24 UTC
Closing old flaw bug - asfaik this hasn't been fixes so closing wontfix