Advisory

RLSA-2022:7700

Also known as: CVE-2020-0256, CVE-2021-0308

Summary

Moderate: gdisk security update

Details

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 Rocky Linux 8.7 Release Notes linked from the References section.

Severity

Medium Basis: CVSS v3 score 6.8, vector CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Dates

Published
2022-11-08 06:26 UTC
Modified
2026-02-05 08:45 UTC

Affected packages and fixes

gdisk

RPM packages (rpm) · Rocky Linux 8

Affected

  • introduced 0, fixed 0:1.0.3-11.el8 (ecosystem)

Fixed versions

0:1.0.3-11.el8

Fix

  • Fixed version 0:1.0.3-11.el8
    sudo dnf upgrade gdisk-0:1.0.3-11.el8

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Rocky Linux errata (Apollo)

Rocky Linux errata, Rocky Enterprise Software Foundation.

Sources & licences