CVE-2021-39685

HIGH

Google Android - Out-of-Bounds Write

Title source: rule
STIX 2.1

Description

In various setup methods of the USB gadget subsystem, there is a possible out of bounds write due to an incorrect flag check. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android kernelAndroid ID: A-210292376References: Upstream kernel

Exploits (1)

nomisec WORKING POC 14 stars
by szymonh · poc
https://github.com/szymonh/inspector-gadget

References (1)

Core 1
Core References
Patch, Vendor Advisory x_refsource_misc
https://source.android.com/security/bulletin/2022-03-01

Scores

CVSS v3 7.8
EPSS 0.0101
EPSS Percentile 77.2%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-787
Status published
Products (1)
google/android
Published Mar 16, 2022
Tracked Since Feb 18, 2026