CVE-2022-20205 Path traversal in Android

Medium 5.5 Published Updated

Improper input validation in Android's FileUtil allows local attackers to bypass file scheme checks and disclose information without user interaction.

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-2022-20205?

CVE-2022-20205 is a medium-severity path traversal vulnerability in Google Android, published on 15 Jun 2022. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

In isFileUri of FileUtil.java, there is a possible way to bypass the check for a file:// scheme due to improper input validation. This could lead to local information disclosure with no additional execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android-12LAndroid ID: A-215212561

Weakness: CWE-20

Which versions are affected by CVE-2022-20205?

It affects 1 product.

Products include Google Android.

How do I fix CVE-2022-20205?

Apply the vendor's patch.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2022-20205 being exploited?

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

All Google Android vulnerabilities

Sources

Also known as A-215212561, GHSA-m92m-rg83-7pwm, PUB-A-215212561.

Is CVE-2022-20205 in your software?

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

Check your SBOMs for free