CVE-2021-0387 Use after free in Android

Medium 6.4 Published Updated

A race condition in Android's quota utilities allows local attackers with system privileges to escalate privileges via a use-after-free vulnerability.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2021-0387?

CVE-2021-0387 is a medium-severity use after free vulnerability in Google Android, published on 10 Mar 2021. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

In FindQuotaDeviceForUuid of QuotaUtils.cpp, there is a possible use-after-free due to a race condition. This could lead to local escalation of privilege with System execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android-11Android ID: A-169421939

Weakness: CWE-362

Which versions are affected by CVE-2021-0387?

It affects 1 product.

Products include Google Android.

How do I fix CVE-2021-0387?

No fix has been published for CVE-2021-0387 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2021-0387 being exploited?

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

All Google Android vulnerabilities

Sources

Also known as GHSA-cjrp-p67h-6xhr.

Is CVE-2021-0387 in your software?

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

Check your SBOMs for free