Bug 2051939 (CVE-2020-0256)

Summary: CVE-2020-0256 gdisk: possible out-of-bounds-write in LoadPartitionTable of gpt.cc
Product: [Other] Security Response Reporter: TEJ RATHI <trathi>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: jburrell, nforro, terje.rosten
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
An out-of-bounds write flaw was found in gdisks' LoadPartitionTable() function of 'gpt.cc'. The exploitation of this flaw requires the use of a malicious storage device (for example, a USB Stick) that can cause a crash when physically inserted into the system and possible local privilege escalation. This flaw allows an attacker to compromise confidentiality, integrity, and data availability.
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-12-03 21:33:15 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: 2052365    
Bug Blocks: 2051949    

Description TEJ RATHI 2022-02-08 11:06:04 UTC
The potential out of bounds write in LoadPartitionTable of gpt.cc due to missing bounds check in gdisk utility. Exploitation requires the use of a malicious storage (such as: USB) device that could cause a crash and possibly allows local privilege escalation.

References:
https://packetstormsecurity.com/files/165869/USN-5262-1
https://sourceforge.net/p/gptfdisk/code/ci/81c8bbee46ad6ebacf72eae70ba5147f376205a4/

Comment 1 juneau 2022-02-08 12:51:53 UTC
Marking openshift-hosted-osd4 notaffected as "Exploitation requires the use of a malicious storage deviceā€¦"

Comment 4 errata-xmlrpc 2022-11-08 10:12:59 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2022:7700 https://access.redhat.com/errata/RHSA-2022:7700

Comment 5 Product Security DevOps Team 2022-12-03 21:33:13 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-2020-0256