CVE-2021-0981 Privilege escalation in Android

High 7.8 Published Updated

Local attackers can escalate privileges by running foreground services without notifications due to improper input validation in Android's NotificationManagerService.

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-0981?

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

Official description

In enqueueNotificationInternal of NotificationManagerService.java, there is a possible way to run a foreground service without showing a notification due to improper input validation. 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-11Android ID: A-191981182

Which versions are affected by CVE-2021-0981?

It affects 1 product.

Products include Google Android.

How do I fix CVE-2021-0981?

Apply the vendor's patch.

Is CVE-2021-0981 being exploited?

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

All Google Android vulnerabilities

Sources

Also known as A-191981182, ASB-A-191981182, GHSA-qh93-p265-2g8r.

Is CVE-2021-0981 in your software?

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

Check your SBOMs for free