CVE-2022-20007 Race condition in Android

High 7.0 Published Updated

A race condition in Android allows local attackers to overlay apps, leading to privilege escalation with 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-2022-20007?

CVE-2022-20007 is a high-severity vulnerability in Google Android, published on 10 May 2022. 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 startActivityForAttachedApplicationIfNeeded of RootWindowContainer.java, there is a possible way to overlay an app that believes it's still in the foreground, when it is not, due to a race condition. 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-11 Android-12 Android-12LAndroid ID: A-211481342

Weakness: CWE-362

Which versions are affected by CVE-2022-20007?

It affects 1 product.

Products include Google Android.

How do I fix CVE-2022-20007?

Apply the vendor's patch.

Is CVE-2022-20007 being exploited?

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

Public exploit code: 2 proofs of concept on GitHub.

All Google Android vulnerabilities

Sources

Also known as A-211481342, ASB-A-211481342, GHSA-wjqw-mvvx-frh3.

Is CVE-2022-20007 in your software?

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

Check your SBOMs for free