CVEfocus › CVE database › CVE-2021-0308

CVE-2021-0308

EPSS 0.4% (higher than 31% of CVEs)Published 2021-01-11Updated 2024-08-03Assigner: google_android

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.

What to do

Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

19Fixed
4Fix pending
1Under investigation
2Will not fix
4Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04gdiskNot affected
vulnerable_code_not_present
Ubuntu 25.10gdiskNot affected
vulnerable_code_not_present
Ubuntu 24.04gdiskNot affected
vulnerable_code_not_present
Ubuntu 22.04gdiskUnder investigationUBUNTU-CVE-2021-0308
Ubuntu 20.04gdiskFix pendingUBUNTU-CVE-2021-0308
Ubuntu 18.04gdiskFix pendingUBUNTU-CVE-2021-0308
Ubuntu 16.04gdiskFix pending1.0.1-1ubuntu0.1~esm2 (Ubuntu Pro)UBUNTU-CVE-2021-0308
Ubuntu 14.04gdiskFix pendingUBUNTU-CVE-2021-0308
Debian 14gdiskFixed1.0.6-1DEBIAN-CVE-2021-0308
Debian 13gdiskFixed1.0.6-1DEBIAN-CVE-2021-0308
Debian 12gdiskFixed1.0.6-1DEBIAN-CVE-2021-0308
Red Hat Enterprise Linux 9gdiskNot affected
Red Hat Enterprise Linux 8gdiskFixed0:1.0.3-11.el8RHSA-2022:7700
Red Hat Enterprise Linux 7gdiskWill not fix
Out of support scope
Red Hat Enterprise Linux 6gdiskWill not fix
Out of support scope
AlmaLinux 8gdiskFixed1.0.3-11.el8ALSA-2022:7700
Rocky Linux 8gdiskFixed0:1.0.3-11.el8RLSA-2022:7700
Alpine Linux 3.24gptfdiskFixed1.0.6-r0ALPINE-CVE-2021-0308
Alpine Linux 3.23gptfdiskFixed1.0.6-r0ALPINE-CVE-2021-0308
Alpine Linux 3.22gptfdiskFixed1.0.6-r0ALPINE-CVE-2021-0308
Alpine Linux 3.21gptfdiskFixed1.0.6-r0ALPINE-CVE-2021-0308
Alpine Linux 3.20gptfdiskFixed1.0.6-r0ALPINE-CVE-2021-0308
Alpine Linux 3.19gptfdiskFixed1.0.6-r0ALPINE-CVE-2021-0308
Alpine Linux 3.18gptfdiskFixed1.0.6-r0ALPINE-CVE-2021-0308
Alpine Linux 3.17gptfdiskFixed1.0.6-r0ALPINE-CVE-2021-0308
Alpine Linux 3.16gptfdiskFixed1.0.6-r0ALPINE-CVE-2021-0308
Alpine Linux 3.15gptfdiskFixed1.0.6-r0ALPINE-CVE-2021-0308
Alpine Linux 3.14gptfdiskFixed1.0.6-r0ALPINE-CVE-2021-0308
Alpine Linux 3.13gptfdiskFixed1.0.6-r0ALPINE-CVE-2021-0308
Alpine Linux 3.12gptfdiskFixed1.0.6-r0ALPINE-CVE-2021-0308

What the vendor says

As published in the CVE record by google_android, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.