Bug 2023927 (CVE-2021-42381)

Summary: CVE-2021-42381 busybox: use-after-free in awk applet leads to denial of service and possibly code execution when processing a crafted awk pattern in the hash_init()
Product: [Other] Security Response Reporter: Guilherme de Almeida Suckevicz <gsuckevi>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: admiller, caswilli, dvlasenk, kaycoth, spotrh
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: BusyBox 1.34.0 Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in BusyBox, where it did not properly sanitize while processing a crafted awk pattern in the clrvar function, leading to possible code execution. The highest threat from this vulnerability is to confidentiality, integrity, as well as system availability.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 2023928    
Bug Blocks: 2023944    

Description Guilherme de Almeida Suckevicz 2021-11-16 19:17:49 UTC
A use-after-free in awk leads to denial of service and possibly code execution when processing a crafted awk pattern in the hash_init function.

Reference:
https://jfrog.com/blog/unboxing-busybox-14-new-vulnerabilities-uncovered-by-claroty-and-jfrog/

Comment 1 Guilherme de Almeida Suckevicz 2021-11-16 19:18:03 UTC
Created busybox tracking bugs for this issue:

Affects: fedora-all [bug 2023928]