CVE-2021-0304 Security feature bypass in Android

Medium 5.5 Published Updated

Local attackers can bypass permissions to disclose user contacts via unsafe PendingIntent handling in Android's GlobalScreenshot component.

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

CVE-2021-0304 is a medium-severity vulnerability in Google Android, published on 11 Jan 2021. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

In several functions of GlobalScreenshot.java, there is a possible permission bypass due to an unsafe PendingIntent. This could lead to local information disclosure of the user's contacts with User execution privileges needed. User interaction is not needed for exploitation. Product: Android; Versions: Android-10, Android-8.0, Android-8.1, Android-9; Android ID: A-162738636.

Weakness: CWE-732

Which versions are affected by CVE-2021-0304?

It affects 1 product.

Products include Google Android.

How do I fix CVE-2021-0304?

Apply the vendor's patch.

Is CVE-2021-0304 being exploited?

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

All Google Android vulnerabilities

Sources

Also known as A-162738636, ASB-A-162738636, GHSA-qwhq-4565-gvhg.

Is CVE-2021-0304 in your software?

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

Check your SBOMs for free