Bug 1838806 (CVE-2020-8432)

Summary: CVE-2020-8432 uboot-tools: double free in do_rename_gpt_parts function in cmd/gpt.c
Product: [Other] Security Response Reporter: Guilherme de Almeida Suckevicz <gsuckevi>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: dan, dennis, jdisnard, ole.d, pbrobinson
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: 2020-05-21 21:15:22 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: 1838807, 1838808    
Bug Blocks:    

Description Guilherme de Almeida Suckevicz 2020-05-21 20:23:06 UTC
In Das U-Boot through 2020.01, a double free has been found in the cmd/gpt.c do_rename_gpt_parts() function. Double freeing may result in a write-what-where condition, allowing an attacker to execute arbitrary code. NOTE: this vulnerablity was introduced when attempting to fix a memory leak identified by static analysis.

References:
https://www.mail-archive.com/u-boot@lists.denx.de/msg354060.html
https://www.mail-archive.com/u-boot@lists.denx.de/msg354114.html

Comment 1 Guilherme de Almeida Suckevicz 2020-05-21 20:23:27 UTC
Created uboot-tools tracking bugs for this issue:

Affects: epel-6 [bug 1838808]
Affects: fedora-all [bug 1838807]

Comment 2 Product Security DevOps Team 2020-05-21 21:15:22 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.