CVE-2024-31331 Privilege escalation in Android

High 7.8 Published Updated

A logic error in Android's PackageManagerService allows local attackers to hide services from Settings, leading to privilege escalation.

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-2024-31331?

CVE-2024-31331 is a high-severity vulnerability in Google Android, published on 9 Jul 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

In setMimeGroup of PackageManagerService.java, there is a possible way to hide the service from Settings due to a logic error in the code. This could lead to local escalation of privilege with User execution privileges needed. User interaction is needed for exploitation.

Weakness: CWE-783

Which versions are affected by CVE-2024-31331?

It affects 1 product.

Products include Google Android.

How do I fix CVE-2024-31331?

Apply the vendor's patch.

Is CVE-2024-31331 being exploited?

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

All Google Android vulnerabilities

Sources

Also known as A-297517712, ASB-A-297517712, GHSA-5qqh-mh68-3gvv.

Is CVE-2024-31331 in your software?

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

Check your SBOMs for free