CVE-2021-0507 Memory corruption in Android

High 8.8 Published Updated

Remote attackers can execute arbitrary code via Bluetooth due to an out-of-bounds write in the Android Bluetooth stack.

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

CVE-2021-0507 is a high-severity memory corruption 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 handle_rc_metamsg_cmd of btif_rc.cc, there is a possible out of bounds write due to a missing bounds check. This could lead to remote code execution over Bluetooth 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-181860042

Weakness: CWE-787

Which versions are affected by CVE-2021-0507?

It affects 1 product.

Products include Google Android.

How do I fix CVE-2021-0507?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2021-0507 being exploited?

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

Public exploit code: 1 proofs of concept on GitHub.

All Google Android vulnerabilities

Sources

Also known as A-181860042, ASB-A-181860042, GHSA-g327-hh94-x2r8.

Is CVE-2021-0507 in your software?

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

Check your SBOMs for free