CVE-2021-0475 Use after free in Android
A use-after-free vulnerability in Android's Bluetooth stack allows remote code execution without user interaction or additional privileges.
- 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-0475?
CVE-2021-0475 is a high-severity use after free vulnerability in Google Android, published on 11 Jun 2021. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
In on_l2cap_data_ind of btif_sock_l2cap.cc, there is possible memory corruption due to a use after free. 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-10Android ID: A-175686168
Weakness: CWE-416
Which versions are affected by CVE-2021-0475?
It affects 1 product.
Products include Google Android.
How do I fix CVE-2021-0475?
Apply the vendor's patch.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2021-0475 being exploited?
There is no known exploitation of CVE-2021-0475 in the wild and no public exploit code.
Public exploit code: 1 proofs of concept on GitHub.
Other vulnerabilities in Google Android
Sources
Also known as A-175686168, ASB-A-175686168, GHSA-jfh5-68jv-jpmr.