CVE-2021-0339 Privilege escalation in Android

High 7.8 Published Updated

A local attacker can maintain a malicious app overlay to escalate privileges on Android devices, requiring user interaction.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2021-0339?

CVE-2021-0339 is a high-severity vulnerability in Google Android, published on 10 Feb 2021. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

In loadAnimation of WindowContainer.java, there is a possible way to keep displaying a malicious app while a target app is brought to the foreground. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is needed for exploitation.Product: AndroidVersions: Android-10 Android-8.1 Android-9Android ID: A-145728687

Weakness: CWE-754

Which versions are affected by CVE-2021-0339?

It affects 1 product.

Products include Google Android.

How do I fix CVE-2021-0339?

Apply the vendor's patch.

Is CVE-2021-0339 being exploited?

There is no known exploitation of CVE-2021-0339 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-145728687, ASB-A-145728687, GHSA-c6h8-w7qx-qj83.

Is CVE-2021-0339 in your software?

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

Check your SBOMs for free