CVE-2022-20338 In HierarchicalUri.readFrom of Uri.java, there is a possible way to craft a malformed Uri object due to improper input validation.

Low 3.3 Published Updated
Exploited in the wild
Not known
Fix
Available

What is CVE-2022-20338?

CVE-2022-20338 is a low-severity vulnerability in Google Android, published on 11 Aug 2022.

Official description

In HierarchicalUri.readFrom of Uri.java, there is a possible way to craft a malformed Uri object due to improper input validation. This could lead to a local escalation of privilege, preventing processes from validating URIs correctly, with no additional execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android-11 Android-12 Android-12LAndroid ID: A-171966843

Weakness: CWE-20

Which versions are affected by CVE-2022-20338?

It affects 1 product.

Products include Google Android.

How do I fix CVE-2022-20338?

Upgrade to a fixed version.

Is CVE-2022-20338 being exploited?

There is no known exploitation of CVE-2022-20338 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-171966843, ASB-A-171966843, GHSA-mwfh-4q4p-rw3p.

Is CVE-2022-20338 in your software?

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

Check your SBOMs for free