cve.bz

CVE-2021-0308 Out-of-bounds Write

6.8 mediumEPSS 0.4%

Medium (6.8). EPSS 0.4% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

6.8 medium
CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 40th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-787 Out-of-bounds Write
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-0308 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-0308?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-0308?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-0308 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
google:android8.0
google:android8.1
google:android9.0
google:android10.0
google:android11.0
debian:debian_linux9.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9gdisk1.0.1-1+deb9u1DLA-2549-1
Debian12, 13, 14gdisk1.0.6-1DEBIAN-CVE-2021-0308
Ubuntu14.04:LTS, 18.04:LTS, 20.04:LTS and 1 moregdiskno fix listedUBUNTU-CVE-2021-0308
UbuntuPro:16.04:LTSgdisk1.0.1-1ubuntu0.1~esm2UBUNTU-CVE-2021-0308 USN-5262-1
Red Hatenterprise_linux:8::baseosgdisk, gdisk-debuginfo, gdisk-debugsource0:1.0.3-11.el8RHSA-2022:7700
Red Hatrhel_eus:8.6::baseosgdisk, gdisk-debuginfo, gdisk-debugsource0:1.0.3-9.el8_6.1RHSA-2024:3486
openSUSETumbleweedgptfdisk1.0.8-1.2openSUSE-SU-2024:10816-1
AlmaLinux8gdisk1.0.3-11.el8ALSA-2022:7700
Rocky Linux8gdisk0:1.0.3-11.el8RLSA-2022:7700
Alpinev3.12, v3.13, v3.14 and 10 moregptfdisk1.0.6-r0ALPINE-CVE-2021-0308

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This vulnerability does affect Red Hat Enterprise Linux 6, 7, and 8 because our code-base is vulnerable to this issue.

Red Hat Product Security has rated this issue as a Moderate security impact and the issue is not currently planned to be addressed in future updates for Red Hat Enterprise Linux 6 and 7, hence, marked as Out-of-Support-Scope. For additional information, refer to the Red Hat Enterprise Linux Life Cycle & Update Policy: https://access.redhat.com/support/policy/updates/errata/.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8gdisk-0:1.0.3-11.el8Fixed 2022-11-08RHSA-2022:7700
Red Hat Enterprise Linux 8.6 Extended Update Supportgdisk-0:1.0.3-9.el8_6.1Fixed 2024-05-30RHSA-2024:3486
Red Hat Enterprise Linux 6gdiskOut of support scope
Red Hat Enterprise Linux 7gdiskOut of support scope
Red Hat Enterprise Linux 9gdiskNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-0308.

References

Check your stackJSON