CVE-2021-39704 Privilege escalation in Android

High 7.8 Published Updated

Local attackers can bypass permissions to run foreground services without user notification, leading to privilege escalation on Android devices.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2021-39704?

CVE-2021-39704 is a high-severity vulnerability in Google Android, published on 16 Mar 2022. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

In deleteNotificationChannelGroup of NotificationManagerService.java, there is a possible way to run foreground service without user notification due to a permissions bypass. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android-10 Android-11 Android-12Android ID: A-209965481

Weakness: CWE-281

Which versions are affected by CVE-2021-39704?

It affects 1 product.

Products include Google Android.

How do I fix CVE-2021-39704?

Apply the vendor's patch.

Is CVE-2021-39704 being exploited?

There is no known exploitation of CVE-2021-39704 in the wild and no public exploit code.

Public exploit code: 1 proofs of concept on GitHub.

All Google Android vulnerabilities

Sources

Also known as A-209965481, ASB-A-209965481, GHSA-pgpc-g587-47x9.

Is CVE-2021-39704 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free