Red Hat 9041 Published by

A gdisk security update has been released for Red Hat Enterprise Linux 8.



RHSA-2022:7700-01: Moderate: gdisk security update



=====================================================================
Red Hat Security Advisory

Synopsis: Moderate: gdisk security update
Advisory ID: RHSA-2022:7700-01
Product: Red Hat Enterprise Linux
Advisory URL:   https://access.redhat.com/errata/RHSA-2022:7700
Issue date: 2022-11-08
CVE Names: CVE-2020-0256 CVE-2021-0308
=====================================================================

1. Summary:

An update for gdisk is now available for Red Hat Enterprise Linux 8.

Red Hat Product Security has rated this update as having a security impact
of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which
gives a detailed severity rating, is available for each vulnerability from
the CVE link(s) in the References section.

2. Relevant releases/architectures:

Red Hat Enterprise Linux BaseOS (v. 8) - aarch64, ppc64le, s390x, x86_64

3. Description:

The gdisk packages provide the gdisk partitioning utility for GUID
Partition Table (GPT) disks. The utility features a command-line interface
similar to fdisk, direct manipulation of partition table structures,
recovery tools to deal with corrupt partition tables, and the ability to
convert Master Boot Record (MBR) disks to the GPT format.

Security Fix(es):

* gdisk: possible out-of-bounds-write in LoadPartitionTable of gpt.cc
(CVE-2020-0256)

* gdisk: possible out-of-bounds-write in ReadLogicalParts of basicmbr.cc
(CVE-2021-0308)

For more details about the security issue(s), including the impact, a CVSS
score, acknowledgments, and other related information, refer to the CVE
page(s) listed in the References section.

Additional Changes:

For detailed information on changes in this release, see the Red Hat
Enterprise Linux 8.7 Release Notes linked from the References section.

4. Solution:

For details on how to apply this update, which includes the changes
described in this advisory, refer to:

  https://access.redhat.com/articles/11258

5. Bugs fixed (  https://bugzilla.redhat.com/):

2051939 - CVE-2020-0256 gdisk: possible out-of-bounds-write in LoadPartitionTable of gpt.cc
2051943 - CVE-2021-0308 gdisk: possible out-of-bounds-write in ReadLogicalParts of basicmbr.cc
2065205 - gptfdisk naming of paritions does not work for big endian systems [rhel-8.7.0]

6. Package List:

Red Hat Enterprise Linux BaseOS (v. 8):

Source:
gdisk-1.0.3-11.el8.src.rpm

aarch64:
gdisk-1.0.3-11.el8.aarch64.rpm
gdisk-debuginfo-1.0.3-11.el8.aarch64.rpm
gdisk-debugsource-1.0.3-11.el8.aarch64.rpm

ppc64le:
gdisk-1.0.3-11.el8.ppc64le.rpm
gdisk-debuginfo-1.0.3-11.el8.ppc64le.rpm
gdisk-debugsource-1.0.3-11.el8.ppc64le.rpm

s390x:
gdisk-1.0.3-11.el8.s390x.rpm
gdisk-debuginfo-1.0.3-11.el8.s390x.rpm
gdisk-debugsource-1.0.3-11.el8.s390x.rpm

x86_64:
gdisk-1.0.3-11.el8.x86_64.rpm
gdisk-debuginfo-1.0.3-11.el8.x86_64.rpm
gdisk-debugsource-1.0.3-11.el8.x86_64.rpm

These packages are GPG signed by Red Hat for security. Our key and
details on how to verify the signature are available from
  https://access.redhat.com/security/team/key/

7. References:

  https://access.redhat.com/security/cve/CVE-2020-0256
  https://access.redhat.com/security/cve/CVE-2021-0308
  https://access.redhat.com/security/updates/classification/#moderate
  https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/8.7_release_notes/index

8. Contact:

The Red Hat security contact is . More contact
details at   https://access.redhat.com/security/team/contact/

Copyright 2022 Red Hat, Inc.