Buffer overflow in Google Android
CVE-2021-39685
- CVSS v3
- 7.8 High
- Public exploits
- 1 repository
- EPSS
- 0.005 · 40.7th percentile
- Published
- 2022-03-16
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
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
- Attack Vector
- Local
AV:L - Attack Complexity
- Low
AC:L - Privileges Required
- Low
PR:L - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- High
C:H - Integrity
- High
I:H - Availability
- High
A:H
EPSS exploit prediction
EPSS 0.005, 40.7th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Google Android
- Android — versions Android kernel
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- szymonh/inspector-gadget (14 stars, last pushed 2022-04-28): CVE-2021-39685 Description and sample exploit for Linux USB Gadget overflow vulnerability
Also mentioned in 10 other repositories (ARPSyndicate/cvemon, NaInSec/CVE-PoC-in-GitHub, nomi-sec/PoC-in-GitHub, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- source.android.com/security/bulletin/2022-03-01 (Patch, Vendor Advisory)
This CVE has public exploit evidence. See the latest CVEs with public exploits.