
CVE catalog
CVE-2021-0308
gdisk: CVE-2021-0308
- Severity
- Medium · CVSS 6.8
CVSS: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.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | gdisk | sid | 1.0.10-3 | fixed |
| Debian | gdisk | forky | 1.0.10-3 | fixed |
| Debian | gdisk | trixie | 1.0.10-2 | fixed |
| Debian | gdisk | bookworm | 1.0.9-2.1 | fixed |
| Android | platform/external/gptfdisk | Not reported | 11 | vulnerable |
| Android | platform/external/gptfdisk | Not reported | 11:2021-01-01 | fixed |
| Alpine | gptfdisk | 3.12 | 1.0.6-r0 | fixed |
| Alpine | gptfdisk | 3.13 | 1.0.6-r0 | fixed |
| Alpine | gptfdisk | 3.14 | 1.0.6-r0 | fixed |
| Alpine | gptfdisk | 3.15 | 1.0.6-r0 | fixed |
| Alpine | gptfdisk | 3.16 | 1.0.6-r0 | fixed |
| Alpine | gptfdisk | 3.17 | 1.0.6-r0 | fixed |
| Alpine | gptfdisk | 3.18 | 1.0.6-r0 | fixed |
| Alpine | gptfdisk | 3.19 | 1.0.6-r0 | fixed |
| Alpine | gptfdisk | 3.20 | 1.0.6-r0 | fixed |
| Alpine | gptfdisk | 3.21 | 1.0.6-r0 | fixed |
| Alpine | gptfdisk | 3.22 | 1.0.6-r0 | fixed |
| Alpine | gptfdisk | 3.23 | 1.0.6-r0 | fixed |
| Alpine | gptfdisk | 3.24 | 1.0.6-r0 | fixed |
| Ubuntu | gdisk | 14.04 | 0.8.7-1 | vulnerable |
| Ubuntu | gdisk | 14.04 | 0.8.8-1build1 | vulnerable |
| Ubuntu | gdisk | 14.04 | 0.8.8-1ubuntu0.1 | vulnerable |
| Ubuntu | gdisk | pro | 1.0.0-3 | vulnerable |
| Ubuntu | gdisk | pro | 1.0.1-1 | vulnerable |
| Ubuntu | gdisk | pro | 1.0.1-1build1 | vulnerable |
| Ubuntu | gdisk | pro | 1.0.1-1ubuntu0.1~esm2 | fixed |
| Ubuntu | gdisk | 18.04 | 1.0.1-1build1 | vulnerable |
| Ubuntu | gdisk | 18.04 | 1.0.3-1 | vulnerable |
| Ubuntu | gdisk | 20.04 | 1.0.4-3 | vulnerable |
| Ubuntu | gdisk | 20.04 | 1.0.5-1 | vulnerable |
| Ubuntu | gdisk | 22.04 | 1.0.8-1 | vulnerable |
| Ubuntu | gdisk | 22.04 | 1.0.8-3 | vulnerable |
| Ubuntu | gdisk | 22.04 | 1.0.8-4 | vulnerable |
| Ubuntu | gdisk | 22.04 | 1.0.8-4build1 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | gdisk | source | sid | 1.0.6-1 | not yet assigned | Not reported | Not reported |
| Debian | gdisk | source | forky | 1.0.6-1 | not yet assigned | Not reported | Not reported |
| Debian | gdisk | source | trixie | 1.0.6-1 | not yet assigned | Not reported | Not reported |
| Debian | gdisk | source | bookworm | 1.0.6-1 | not yet assigned | Not reported | Not reported |
| Android | platform/external/gptfdisk | Android | Not reported | 11:2021-01-01 | Not reported | ASB-A-158063095 | Not reported |
| Alpine | gptfdisk | apk | 3.12 | 1.0.6-r0 | Not reported | ALPINE-CVE-2021-0308 | Not reported |
| Alpine | gptfdisk | apk | 3.13 | 1.0.6-r0 | Not reported | ALPINE-CVE-2021-0308 | Not reported |
| Alpine | gptfdisk | apk | 3.14 | 1.0.6-r0 | Not reported | ALPINE-CVE-2021-0308 | Not reported |
| Alpine | gptfdisk | apk | 3.15 | 1.0.6-r0 | Not reported | ALPINE-CVE-2021-0308 | Not reported |
| Alpine | gptfdisk | apk | 3.16 | 1.0.6-r0 | Not reported | ALPINE-CVE-2021-0308 | Not reported |
| Alpine | gptfdisk | apk | 3.17 | 1.0.6-r0 | Not reported | ALPINE-CVE-2021-0308 | Not reported |
| Alpine | gptfdisk | apk | 3.18 | 1.0.6-r0 | Not reported | ALPINE-CVE-2021-0308 | Not reported |
| Alpine | gptfdisk | apk | 3.19 | 1.0.6-r0 | Not reported | ALPINE-CVE-2021-0308 | Not reported |
| Alpine | gptfdisk | apk | 3.20 | 1.0.6-r0 | Not reported | ALPINE-CVE-2021-0308 | Not reported |
| Alpine | gptfdisk | apk | 3.21 | 1.0.6-r0 | Not reported | ALPINE-CVE-2021-0308 | Not reported |
| Alpine | gptfdisk | apk | 3.22 | 1.0.6-r0 | Not reported | ALPINE-CVE-2021-0308 | Not reported |
| Alpine | gptfdisk | apk | 3.23 | 1.0.6-r0 | Not reported | ALPINE-CVE-2021-0308 | Not reported |
| Alpine | gptfdisk | apk | 3.24 | 1.0.6-r0 | Not reported | ALPINE-CVE-2021-0308 | Not reported |
| Ubuntu | gdisk | deb | pro | 1.0.1-1ubuntu0.1~esm2 | Not reported | UBUNTU-CVE-2021-0308 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [gdisk]Fixed
Details (2)
1.0.9-2.1· amd64 · bookwormFixed · Fixed:
1.0.6-1dsa · gdisk · debian · bookworm; dsa · gdisk · debian · 12
1.0.9-2.1· arm64 · bookwormFixed · Fixed:
1.0.6-1dsa · gdisk · debian · bookworm; dsa · gdisk · debian · 12
[Debian 13 (Trixie)]
Observed:
References
- [https://access.redhat.com/errata/RHSA-2022:7700]
- [https://ftp.suse.com/pub/projects/security/csaf/rhsa-2022_7700.json]
- [https://osv.dev/vulnerability/ALPINE-CVE-2021-0308]
- [https://osv.dev/vulnerability/ASB-A-158063095]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2021-0308]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2021-0308]
- [https://security-tracker.debian.org/tracker/CVE-2021-0308]
- [https://wid.cert-bund.de/.well-known/csaf/white/2021/wid-sec-w-2022-1994.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]