Bug 2023912 (CVE-2021-42380)

Summary: CVE-2021-42380 busybox: use-after-free in awk applet leads to denial of service and possibly code execution when processing a crafted awk pattern in the clrvar()
Product: [Other] Security Response Reporter: Guilherme de Almeida Suckevicz <gsuckevi>
Component: vulnerabilityAssignee: Nobody <nobody>
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:
Embargoed:
Bug Depends On: 2023913    
Bug Blocks: 2023944    

Description Guilherme de Almeida Suckevicz 2021-11-16 18:51:22 UTC
A use-after-free in awk leads to denial of service and possibly code execution when processing a crafted awk pattern in the clrvar 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 18:51:36 UTC
Created busybox tracking bugs for this issue:

Affects: fedora-all [bug 2023913]