Bug 1941028 (CVE-2021-28831)

Summary: CVE-2021-28831 busybox: invalid free or segmentation fault via malformed gzip data
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, dvlasenk, 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: 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: 1941029    
Bug Blocks: 1941030    

Description Guilherme de Almeida Suckevicz 2021-03-19 18:47:16 UTC
decompress_gunzip.c in BusyBox through 1.32.1 mishandles the error bit on the huft_build result pointer, with a resultant invalid free or segmentation fault, via malformed gzip data.

Reference and upstream patch:
https://git.busybox.net/busybox/commit/?id=f25d254dfd4243698c31a4f3153d4ac72aa9e9bd

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

Affects: fedora-all [bug 1941029]

Comment 2 Huzaifa S. Sidhpurwala 2021-04-12 04:11:11 UTC
Support for gunzip was introduced in busybox-1.20, therefore version of busybox shipped with Red Hat Enterprise Linux 6 is not affected by this flaw.

Comment 3 Huzaifa S. Sidhpurwala 2021-04-12 04:11:14 UTC
Statement:

Support for gunzip was introduced in busybox-1.20, therefore version of busybox shipped with Red Hat Enterprise Linux 6 is not affected by this flaw.