CVE-2021-39695 Privilege escalation in Android

High 7.8 Published Updated

A logic error in Android's BasePermission allows local attackers to escalate privileges without user interaction.

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

CVE-2021-39695 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 createOrUpdate of BasePermission.java, there is a possible permission bypass due to a logic error in the code. This could lead to local escalation of privilege with User execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android-11Android ID: A-209607944

Weakness: CWE-281

Which versions are affected by CVE-2021-39695?

It affects 1 product.

Products include Google Android.

How do I fix CVE-2021-39695?

Apply the vendor's patch.

Is CVE-2021-39695 being exploited?

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

All Google Android vulnerabilities

Sources

Also known as A-209607944, ASB-A-209607944, GHSA-mfmj-m5pv-c2vp.

Is CVE-2021-39695 in your software?

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

Check your SBOMs for free