CVE-2023-21116 Privilege escalation in Android

Medium 6.7 Published Updated

A logic error in Android's package installer allows local attackers with system privileges to downgrade system apps, leading to privilege escalation.

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-2023-21116?

CVE-2023-21116 is a medium-severity vulnerability in Google Android, published on 15 May 2023. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

In verifyReplacingVersionCode of InstallPackageHelper.java, there is a possible way to downgrade system apps below system image version due to a logic error in the code. This could lead to local escalation of privilege with System execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android-11 Android-12 Android-12L Android-13Android ID: A-256202273

Weakness: CWE-863

Which versions are affected by CVE-2023-21116?

It affects 1 product.

Products include Google Android.

How do I fix CVE-2023-21116?

Apply the vendor's patch.

Is CVE-2023-21116 being exploited?

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

All Google Android vulnerabilities

Sources

Also known as A-256202273, ASB-A-256202273, GHSA-f7h3-xrj3-8hhr.

Is CVE-2023-21116 in your software?

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

Check your SBOMs for free