Bug 1870290 (CVE-2020-24370)

Summary: CVE-2020-24370 lua: segmentation fault in getlocal and setlocal functions in ldebug.c
Product: [Other] Security Response Reporter: Guilherme de Almeida Suckevicz <gsuckevi>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: drjohnson1, fedora, hdegoede, michel, moceap, packaging-team-maint, rob.myers, scorneli, spotrh
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-11-09 23:23:16 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: 1880445    
Bug Blocks: 1870295    

Description Guilherme de Almeida Suckevicz 2020-08-19 16:52:43 UTC
ldebug.c in Lua 5.4.0 allows a negation overflow and segmentation fault in getlocal and setlocal, as demonstrated by getlocal(3,2^31).

Reference:
http://lua-users.org/lists/lua-l/2020-07/msg00324.html

Upstream commit:
https://github.com/lua/lua/commit/a585eae6e7ada1ca9271607a4f48dfb17868ab7b

Comment 1 Tom "spot" Callaway 2020-08-19 18:45:49 UTC
Update pending for F31/F32, built for F33/F34.

Comment 3 errata-xmlrpc 2021-11-09 19:02:36 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2021:4510 https://access.redhat.com/errata/RHSA-2021:4510

Comment 4 Product Security DevOps Team 2021-11-09 23:23:15 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2020-24370