Bug 2044415 (CVE-2021-44647)

Summary: CVE-2021-44647 lua: type confusion in funcnamefromcode in ldebug.c could result in local DoS
Product: [Other] Security Response Reporter: Michael Kaplan <mkaplan>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: 4le, asn, bdettelb, caswilli, csutherl, drjohnson1, fjansen, gzaronik, jburrell, jclere, jwon, kaycoth, krathod, lua-packagers-sig, mhroncok, michel, mturk, packaging-team-maint, pjindal, rob.myers, spotrh, szappis, tkasparek
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in Lua. An SEGV crash in the funcnamefromcode() function in ldebug.c during error handling occurs in '__close' metamethods. This flaw allows an attacker to cause a denial of service.
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-01-28 07:30:57 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: 2044416    
Bug Blocks: 2044418    

Description Michael Kaplan 2022-01-24 15:05:58 UTC
Lua 5.4.4 and 5.4.2 are affected by SEGV by type confusion in funcnamefromcode function in ldebug.c which can cause a local denial of service.

References:

http://lua-users.org/lists/lua-l/2021-11/msg00204.html
http://lua-users.org/lists/lua-l/2021-11/msg00195.html

Comment 1 Michael Kaplan 2022-01-24 15:06:10 UTC
Created lua tracking bugs for this issue:

Affects: fedora-all [bug 2044416]

Comment 2 juneau 2022-01-24 16:43:02 UTC
Marked all /services "notaffected." No 5.4.x versions of Lua found in service manifests.

Comment 4 Product Security DevOps Team 2022-01-28 07:30:54 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-2021-44647