CVE-2022-20356 Privilege escalation in Android

Medium 4.0 Published Updated

Local attackers can escalate privileges by improperly starting foreground services from the background in Android.

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

What is CVE-2022-20356?

CVE-2022-20356 is a medium-severity vulnerability in Google Android, published on 9 Aug 2022. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

In shouldAllowFgsWhileInUsePermissionLocked of ActiveServices.java, there is a possible way to start foreground service from background due to improper input validation. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android-11 Android-12 Android-12LAndroid ID: A-215003903

Weakness: CWE-20, CWE-269

Which versions are affected by CVE-2022-20356?

It affects 1 product.

Products include Google Android.

How do I fix CVE-2022-20356?

Apply the vendor's patch.

Is CVE-2022-20356 being exploited?

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

All Google Android vulnerabilities

Sources

Also known as A-215003903, ASB-A-215003903, GHSA-m3pm-8957-2cj6.

Is CVE-2022-20356 in your software?

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

Check your SBOMs for free