Out-of-bounds write in Google Android - CVE-2021-0308

 

Out-of-bounds write in Google Android - CVE-2021-0308

Published: January 11, 2021 / Updated: January 20, 2021


Vulnerability identifier: #VU49882
CSH Severity: Low
CVSS v4: 8.5 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2021-0308
CWE-ID: CWE-787
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local authenticated user to execute arbitrary code.

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 software

Google Android
Arch Linux
Gentoo Linux
Oracle Linux
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux Server - TUS
Ubuntu
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
gptfdisk (Alpine package)
gdisk (Ubuntu package)
gdisk (Red Hat package)
OpenShift Virtualization

How to mitigate CVE-2021-0308

Install update from vendor's website.

gptfdisk (Alpine package) - update to 1.0.6-r0
gdisk (Ubuntu package) - update to 1.0.1-1ubuntu0.1~esm2
gdisk (Red Hat package) - addressed in versions 1.0.3-9.el8_6.1, 1.0.3-11.el8
OpenShift Virtualization - addressed in versions 4.11.1, 4.12.0

External References

Related Security Bulletins