Bug 2051943 (CVE-2021-0308) - CVE-2021-0308 gdisk: possible out-of-bounds-write in ReadLogicalParts of basicmbr.cc
Summary: CVE-2021-0308 gdisk: possible out-of-bounds-write in ReadLogicalParts of basi...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2021-0308
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2052364
Blocks: 2051949
TreeView+ depends on / blocked
 
Reported: 2022-02-08 11:21 UTC by TEJ RATHI
Modified: 2023-12-07 15:25 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
An out-of-bounds write flaw was found in gdisks' ReadLogicalParts() function of 'basicmbr.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.
Clone Of:
Environment:
Last Closed: 2022-12-03 22:20:13 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2022:7700 0 None None None 2022-11-08 10:13:04 UTC

Description TEJ RATHI 2022-02-08 11:21:38 UTC
The potential out of bounds write in ReadLogicalParts of basicmbr.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/f523bbc0c2437fe259aa3aff5e819e24101aee29

Comment 1 juneau 2022-02-08 12:52:37 UTC
Marking openshift-hosted-osd4 notaffected as "Exploitation requires the use of a malicious storage device…"

Comment 4 errata-xmlrpc 2022-11-08 10:13:02 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 22:20:11 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-2021-0308


Note You need to log in before you can comment on or make changes to this bug.