CVE-2021-0337 Information disclosure in Android

High 7.8 Published Updated

Local attackers can exploit stale metadata in FileSystemProvider to expose files and escalate privileges on Android devices.

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

CVE-2021-0337 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, with no action from the victim.

Official description

In moveInMediaStore of FileSystemProvider.java, there is a possible file exposure due to stale metadata. This could lead to local escalation of privilege with User execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android-8.1 Android-9 Android-10 Android-11Android ID: A-157474195

Weakness: CWE-312

Which versions are affected by CVE-2021-0337?

It affects 1 product.

Products include Google Android.

How do I fix CVE-2021-0337?

Apply the vendor's patch.

Is CVE-2021-0337 being exploited?

There is no known exploitation of CVE-2021-0337 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-157474195, ASB-A-157474195, GHSA-899f-9gpg-r429.

Is CVE-2021-0337 in your software?

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

Check your SBOMs for free