CVE-2021-0308
publishedgdisk: possible out-of-bounds-write in ReadLogicalParts of basicmbr.cc
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | AndroidAndroid-8.1 · Android-9 · Android-10 · Android-11 · Android-8.0 | Affected | Not stated | google_android |
| AlmaLinux | 8 | gdisk | Advisory build | 1.0.3-11.el8 | ALSA-2022:7700 |
| Alpine Linux | edge | gptfdisk | Fixed | 1.0.6-r0 | Package fix record |
| Debian | stretch | gdisk | Advisory build | 1.0.1-1+deb9u1 | DLA-2549-1 |
| Oracle Linux | 8 | gdiskaarch64 | Advisory build | 0:1.0.3-11.el8 | ELSA-2022-7700 |
| Red Hat Enterprise Linux | RHEL-8 | gdiskaarch64 | Advisory build | 1.0.3-11.el8 | RHSA-2022:7700 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gptfdiskaarch64 | Advisory build | 1.0.8-1.2 | OPENSUSE-SU-2024:10816-1 |
| Ubuntu | xenial | gdisk | Advisory build | 1.0.1-1ubuntu0.1~esm2 | USN-5262-1 |
Show 53 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Rocky Linux | 8 | gdiskaarch64 | Listed in advisory | Not stated | RLSA-2022:7700 |
| Alpine Linux | v3.12 | gptfdisk | Fixed | 1.0.6-r0 | Package fix record |
| Alpine Linux | v3.13 | gptfdisk | Fixed | 1.0.6-r0 | Package fix record |
| Alpine Linux | v3.14 | gptfdisk | Fixed | 1.0.6-r0 | Package fix record |
| Alpine Linux | v3.15 | gptfdisk | Fixed | 1.0.6-r0 | Package fix record |
| Alpine Linux | v3.16 | gptfdisk | Fixed | 1.0.6-r0 | Package fix record |
| Alpine Linux | v3.17 | gptfdisk | Fixed | 1.0.6-r0 | Package fix record |
| Alpine Linux | v3.18 | gptfdisk | Fixed | 1.0.6-r0 | Package fix record |
| Alpine Linux | v3.19 | gptfdisk | Fixed | 1.0.6-r0 | Package fix record |
| Alpine Linux | v3.20 | gptfdisk | Fixed | 1.0.6-r0 | Package fix record |
| Alpine Linux | v3.21 | gptfdisk | Fixed | 1.0.6-r0 | Package fix record |
| Alpine Linux | v3.22 | gptfdisk | Fixed | 1.0.6-r0 | Package fix record |
| Alpine Linux | v3.23 | gptfdisk | Fixed | 1.0.6-r0 | Package fix record |
| Alpine Linux | v3.24 | gptfdisk | Fixed | 1.0.6-r0 | Package fix record |
| Oracle Linux | 8 | gdiskx86_64 | Advisory build | 0:1.0.3-11.el8 | ELSA-2022-7700 |
| Red Hat Enterprise Linux | RHEL-8 | gdiskaarch64 | Advisory build | 1.0.3-9.el8_6.1 | RHSA-2024:3486 |
| Red Hat Enterprise Linux | RHEL-8 | gdiskppc64le | Advisory build | 1.0.3-11.el8 | RHSA-2022:7700 |
| Red Hat Enterprise Linux | RHEL-8 | gdiskppc64le | Advisory build | 1.0.3-9.el8_6.1 | RHSA-2024:3486 |
| Red Hat Enterprise Linux | RHEL-8 | gdisks390x | Advisory build | 1.0.3-11.el8 | RHSA-2022:7700 |
| Red Hat Enterprise Linux | RHEL-8 | gdisks390x | Advisory build | 1.0.3-9.el8_6.1 | RHSA-2024:3486 |
| Red Hat Enterprise Linux | RHEL-8 | gdisksrc | Advisory build | 1.0.3-11.el8 | RHSA-2022:7700 |
| Red Hat Enterprise Linux | RHEL-8 | gdisksrc | Advisory build | 1.0.3-9.el8_6.1 | RHSA-2024:3486 |
| Red Hat Enterprise Linux | RHEL-8 | gdiskx86_64 | Advisory build | 1.0.3-11.el8 | RHSA-2022:7700 |
| Red Hat Enterprise Linux | RHEL-8 | gdiskx86_64 | Advisory build | 1.0.3-9.el8_6.1 | RHSA-2024:3486 |
| Red Hat Enterprise Linux | RHEL-8 | gdisk-debuginfoaarch64 | Advisory build | 1.0.3-11.el8 | RHSA-2022:7700 |
| Red Hat Enterprise Linux | RHEL-8 | gdisk-debuginfoaarch64 | Advisory build | 1.0.3-9.el8_6.1 | RHSA-2024:3486 |
| Red Hat Enterprise Linux | RHEL-8 | gdisk-debuginfoppc64le | Advisory build | 1.0.3-11.el8 | RHSA-2022:7700 |
| Red Hat Enterprise Linux | RHEL-8 | gdisk-debuginfoppc64le | Advisory build | 1.0.3-9.el8_6.1 | RHSA-2024:3486 |
| Red Hat Enterprise Linux | RHEL-8 | gdisk-debuginfos390x | Advisory build | 1.0.3-11.el8 | RHSA-2022:7700 |
| Red Hat Enterprise Linux | RHEL-8 | gdisk-debuginfos390x | Advisory build | 1.0.3-9.el8_6.1 | RHSA-2024:3486 |
| Red Hat Enterprise Linux | RHEL-8 | gdisk-debuginfox86_64 | Advisory build | 1.0.3-11.el8 | RHSA-2022:7700 |
| Red Hat Enterprise Linux | RHEL-8 | gdisk-debuginfox86_64 | Advisory build | 1.0.3-9.el8_6.1 | RHSA-2024:3486 |
| Red Hat Enterprise Linux | RHEL-8 | gdisk-debugsourceaarch64 | Advisory build | 1.0.3-11.el8 | RHSA-2022:7700 |
| Red Hat Enterprise Linux | RHEL-8 | gdisk-debugsourceaarch64 | Advisory build | 1.0.3-9.el8_6.1 | RHSA-2024:3486 |
| Red Hat Enterprise Linux | RHEL-8 | gdisk-debugsourceppc64le | Advisory build | 1.0.3-11.el8 | RHSA-2022:7700 |
| Red Hat Enterprise Linux | RHEL-8 | gdisk-debugsourceppc64le | Advisory build | 1.0.3-9.el8_6.1 | RHSA-2024:3486 |
| Red Hat Enterprise Linux | RHEL-8 | gdisk-debugsources390x | Advisory build | 1.0.3-11.el8 | RHSA-2022:7700 |
| Red Hat Enterprise Linux | RHEL-8 | gdisk-debugsources390x | Advisory build | 1.0.3-9.el8_6.1 | RHSA-2024:3486 |
| Red Hat Enterprise Linux | RHEL-8 | gdisk-debugsourcex86_64 | Advisory build | 1.0.3-11.el8 | RHSA-2022:7700 |
| Red Hat Enterprise Linux | RHEL-8 | gdisk-debugsourcex86_64 | Advisory build | 1.0.3-9.el8_6.1 | RHSA-2024:3486 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gptfdiskppc64le | Advisory build | 1.0.8-1.2 | OPENSUSE-SU-2024:10816-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gptfdisks390x | Advisory build | 1.0.8-1.2 | OPENSUSE-SU-2024:10816-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gptfdiskx86_64 | Advisory build | 1.0.8-1.2 | OPENSUSE-SU-2024:10816-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gptfdisk-fixpartsaarch64 | Advisory build | 1.0.8-1.2 | OPENSUSE-SU-2024:10816-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gptfdisk-fixpartsppc64le | Advisory build | 1.0.8-1.2 | OPENSUSE-SU-2024:10816-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gptfdisk-fixpartss390x | Advisory build | 1.0.8-1.2 | OPENSUSE-SU-2024:10816-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gptfdisk-fixpartsx86_64 | Advisory build | 1.0.8-1.2 | OPENSUSE-SU-2024:10816-1 |
| Rocky Linux | 8 | gdisksrc | Listed in advisory | Not stated | RLSA-2022:7700 |
| Rocky Linux | 8 | gdiskx86_64 | Listed in advisory | Not stated | RLSA-2022:7700 |
| Rocky Linux | 8 | gdisk-debuginfoaarch64 | Listed in advisory | Not stated | RLSA-2022:7700 |
| Rocky Linux | 8 | gdisk-debuginfox86_64 | Listed in advisory | Not stated | RLSA-2022:7700 |
| Rocky Linux | 8 | gdisk-debugsourceaarch64 | Listed in advisory | Not stated | RLSA-2022:7700 |
| Rocky Linux | 8 | gdisk-debugsourcex86_64 | Listed in advisory | Not stated | RLSA-2022:7700 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | Android | Android-8.1 (affected)Android-9 (affected)Android-10 (affected)Android-11 (affected)Android-8.0 (affected) | google_android · cna |
Weaknesses
1- Elevation of privilege
References
3- [debian-lts-announce] 20210208 [SECURITY] [DLA 2549-1] gdisk security update https://lists.debian.org/debian-lts-announce/2021/02/msg00010.html
- GLSA-202105-03 https://security.gentoo.org/glsa/202105-03
- https://source.android.com/security/bulletin/2021-01-01
Provider assertions
2google_android · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 422208f62a3574f3365694cb57881164d0b4bd08aa84d6728f66b45d2d85120c
- Ingested
- 23 Sep 2026, 07:51:56 UTC
- Source record
- Official CVE record