CVE-2021-0521 Missing authorization in Android

Medium 5.5 Published Updated

A missing permission check in Android's PackageManagerService allows local attackers to disclose cross-user permission information without user interaction.

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-2021-0521?

CVE-2021-0521 is a medium-severity missing authorization vulnerability in Google Android, published on 21 Jun 2021. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

In getAllPackages of PackageManagerService, there is a possible information disclosure due to a missing permission check. This could lead to local information disclosure of cross-user permissions with no additional execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android-11 Android-8.1 Android-9 Android-10Android ID: A-174661955

Weakness: CWE-862

Which versions are affected by CVE-2021-0521?

It affects 1 product.

Products include Google Android.

How do I fix CVE-2021-0521?

Apply the vendor's patch.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2021-0521 being exploited?

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

All Google Android vulnerabilities

Sources

Also known as A-174661955, ASB-A-174661955, GHSA-rwpm-6wj8-f5px.

Is CVE-2021-0521 in your software?

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

Check your SBOMs for free