CVE-2022-20505 Path traversal in Android

Medium 6.7 Published Updated

A path traversal flaw in Android's CallLogProvider allows local attackers to bypass permissions and escalate privileges without user interaction.

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

What is CVE-2022-20505?

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

Official description

In openFile of CallLogProvider.java, there is a possible permission bypass due to a path traversal error. This could lead to local escalation of privilege with User execution privileges needed. User interaction is not needed for exploitationProduct: AndroidVersions: Android-13Android ID: A-225981754

Weakness: CWE-22

Which versions are affected by CVE-2022-20505?

It affects 1 product.

Products include Google Android.

How do I fix CVE-2022-20505?

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-20505 being exploited?

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

All Google Android vulnerabilities

Sources

Also known as A-225981754, GHSA-gmm8-v646-j3w9, PUB-A-225981754.

Is CVE-2022-20505 in your software?

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

Check your SBOMs for free