CVE catalog

CVE-2021-0308

gdisk: CVE-2021-0308

[CVE catalog]

Severity
Medium · CVSS 6.8CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published
Source
[NVD] · [CVE record]
EPSS
0.45% · Oct 25, 2026

In ReadLogicalParts of basicmbr.cc, there is a possible out of bounds write due to a missing bounds check. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation. Product: Android; Versions: Android-8.1, Android-9, Android-10, Android-11, Android-8.0; Android ID: A-158063095.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiangdisksid1.0.10-3fixed
Debiangdiskforky1.0.10-3fixed
Debiangdisktrixie1.0.10-2fixed
Debiangdiskbookworm1.0.9-2.1fixed
Androidplatform/external/gptfdiskNot reported11vulnerable
Androidplatform/external/gptfdiskNot reported11:2021-01-01fixed
Alpinegptfdisk3.121.0.6-r0fixed
Alpinegptfdisk3.131.0.6-r0fixed
Alpinegptfdisk3.141.0.6-r0fixed
Alpinegptfdisk3.151.0.6-r0fixed
Alpinegptfdisk3.161.0.6-r0fixed
Alpinegptfdisk3.171.0.6-r0fixed
Alpinegptfdisk3.181.0.6-r0fixed
Alpinegptfdisk3.191.0.6-r0fixed
Alpinegptfdisk3.201.0.6-r0fixed
Alpinegptfdisk3.211.0.6-r0fixed
Alpinegptfdisk3.221.0.6-r0fixed
Alpinegptfdisk3.231.0.6-r0fixed
Alpinegptfdisk3.241.0.6-r0fixed
Ubuntugdisk14.040.8.7-1vulnerable
Ubuntugdisk14.040.8.8-1build1vulnerable
Ubuntugdisk14.040.8.8-1ubuntu0.1vulnerable
Ubuntugdiskpro1.0.0-3vulnerable
Ubuntugdiskpro1.0.1-1vulnerable
Ubuntugdiskpro1.0.1-1build1vulnerable
Ubuntugdiskpro1.0.1-1ubuntu0.1~esm2fixed
Ubuntugdisk18.041.0.1-1build1vulnerable
Ubuntugdisk18.041.0.3-1vulnerable
Ubuntugdisk20.041.0.4-3vulnerable
Ubuntugdisk20.041.0.5-1vulnerable
Ubuntugdisk22.041.0.8-1vulnerable
Ubuntugdisk22.041.0.8-3vulnerable
Ubuntugdisk22.041.0.8-4vulnerable
Ubuntugdisk22.041.0.8-4build1vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiangdisksourcesid1.0.6-1not yet assignedNot reportedNot reported
Debiangdisksourceforky1.0.6-1not yet assignedNot reportedNot reported
Debiangdisksourcetrixie1.0.6-1not yet assignedNot reportedNot reported
Debiangdisksourcebookworm1.0.6-1not yet assignedNot reportedNot reported
Androidplatform/external/gptfdiskAndroidNot reported11:2021-01-01Not reportedASB-A-158063095Not reported
Alpinegptfdiskapk3.121.0.6-r0Not reportedALPINE-CVE-2021-0308Not reported
Alpinegptfdiskapk3.131.0.6-r0Not reportedALPINE-CVE-2021-0308Not reported
Alpinegptfdiskapk3.141.0.6-r0Not reportedALPINE-CVE-2021-0308Not reported
Alpinegptfdiskapk3.151.0.6-r0Not reportedALPINE-CVE-2021-0308Not reported
Alpinegptfdiskapk3.161.0.6-r0Not reportedALPINE-CVE-2021-0308Not reported
Alpinegptfdiskapk3.171.0.6-r0Not reportedALPINE-CVE-2021-0308Not reported
Alpinegptfdiskapk3.181.0.6-r0Not reportedALPINE-CVE-2021-0308Not reported
Alpinegptfdiskapk3.191.0.6-r0Not reportedALPINE-CVE-2021-0308Not reported
Alpinegptfdiskapk3.201.0.6-r0Not reportedALPINE-CVE-2021-0308Not reported
Alpinegptfdiskapk3.211.0.6-r0Not reportedALPINE-CVE-2021-0308Not reported
Alpinegptfdiskapk3.221.0.6-r0Not reportedALPINE-CVE-2021-0308Not reported
Alpinegptfdiskapk3.231.0.6-r0Not reportedALPINE-CVE-2021-0308Not reported
Alpinegptfdiskapk3.241.0.6-r0Not reportedALPINE-CVE-2021-0308Not reported
Ubuntugdiskdebpro1.0.1-1ubuntu0.1~esm2Not reportedUBUNTU-CVE-2021-0308Not reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [gdisk]Fixed
    Details (2)
    • 1.0.9-2.1 · amd64 · bookworm

      Fixed · Fixed: 1.0.6-1

      dsa · gdisk · debian · bookworm; dsa · gdisk · debian · 12

    • 1.0.9-2.1 · arm64 · bookworm

      Fixed · Fixed: 1.0.6-1

      dsa · gdisk · debian · bookworm; dsa · gdisk · debian · 12

[Debian 13 (Trixie)]

  • [gdisk]Fixed

    Source package: [gdisk]

    Details (2)
    • 1.0.10-2 · amd64 · trixie

      Fixed · Fixed: 1.0.6-1

      dsa · gdisk · debian · 13

    • 1.0.10-2+b1 · arm64 · trixie

      Fixed · Fixed: 1.0.6-1

      dsa · gdisk · debian · 13

Observed:

References