CVE-2021-0645 Missing authorization in Android

High 7.8 Published Updated

A permissions bypass in Android's ExternalStorageProvider allows local apps to read private directories, 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-0645?

CVE-2021-0645 is a high-severity missing authorization vulnerability in Google Android, published on 17 Aug 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 shouldBlockFromTree of ExternalStorageProvider.java, there is a possible permissions bypass. This could lead to local escalation of privilege, allowing an app to read private app directories in external storage, which should be restricted in Android 11, with no additional execution privileges needed. User interaction is needed for exploitation.Product: AndroidVersions: Android-11Android ID: A-157320644

Weakness: CWE-863

Which versions are affected by CVE-2021-0645?

It affects 1 product.

Products include Google Android.

How do I fix CVE-2021-0645?

Apply the vendor's patch.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2021-0645 being exploited?

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

All Google Android vulnerabilities

Sources

Also known as A-157320644, ASB-A-157320644, GHSA-4343-6j55-fcq3.

Is CVE-2021-0645 in your software?

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

Check your SBOMs for free