Skip to content
OpenAdvisories
Unscored Public exploit CVE-2021-0308 EUVD-2021-2927GHSA-gxqw-x97w-h62r

In ReadLogicalParts of basicmbr.cc, there is a possible out of bounds write due to a missing bounds check. This could lead to local escalat…

Published Jan 11, 2021 · Updated Aug 3, 2024 · Assigned by google_android

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.

Affected products

VendorProductAffectedFixed
— Android Android-8.1, Android-9, Android-10, Android-11, Android-8.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 gdisk 1.0.6-1 —
Debian 13 gdisk 1.0.6-1 —
Debian 12 gdisk 1.0.6-1 —
Debian 9 gdisk 1.0.1-1+deb9u1 DLA-2549-1
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS gdisk No fix yet —
Ubuntu 20.04 LTS gdisk No fix yet —
Ubuntu 18.04 LTS gdisk No fix yet —
Ubuntu 14.04 LTS gdisk No fix yet —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 16.04 LTS gdisk 1.0.1-1ubuntu0.1~esm2 USN-5262-1
ReleasePackageFixed inAdvisory
RHEL 8 gdisk 1.0.3-11.el8 RHSA-2022:7700
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 8.6 EUS gdisk 1.0.3-9.el8_6.1 RHSA-2024:3486

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 8 gdisk 1.0.3-11.el8 ALSA-2022:7700

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 8 gdisk 1.0.3-11.el8 RLSA-2022:7700
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed gptfdisk 1.0.8-1.2 openSUSE-SU-2024:10816-1
ReleasePackageFixed inAdvisory
Alpine v3.24 gptfdisk 1.0.6-r0 —
Alpine v3.23 gptfdisk 1.0.6-r0 —
Alpine v3.22 gptfdisk 1.0.6-r0 —
Alpine v3.21 gptfdisk 1.0.6-r0 —
Alpine v3.20 gptfdisk 1.0.6-r0 —
Show 8 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 gptfdisk 1.0.6-r0 —
Alpine v3.18 gptfdisk 1.0.6-r0 —
Alpine v3.17 gptfdisk 1.0.6-r0 —
Alpine v3.16 gptfdisk 1.0.6-r0 —
Alpine v3.15 gptfdisk 1.0.6-r0 —
Alpine v3.14 gptfdisk 1.0.6-r0 —
Alpine v3.13 gptfdisk 1.0.6-r0 —
Alpine v3.12 gptfdisk 1.0.6-r0 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 gdisk 1.0.3-11.el8 ELSA-2022-7700

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 9

References