Exploit database

Vulnerability

CVE-2021-39685

Vulnerability details

Score
7.8
Severity
high

CVSS 3.1 · NVD

Vector string

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

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

CVE Program

Exploit source choices

2 sources
szymonh/inspector-gadget
GH-30301373910886cfbe50bd1f797ea35aGitHubUnofficial GitHub sourcePreferred

CVE-2021-39685 Description and sample exploit for Linux USB Gadget overflow vulnerability

2021-12-154 files · 14 stars
szymonh/android-gadget
GH-b1d2a52f4b50d766770478f843c78bdfGitHubUnofficial GitHub source

CVE-2022-20009 - Description and sample exploit for Android USB Gadgets

2023-08-064 files · 5 stars