CVE-2021-0474 Memory corruption in Android
A heap buffer overflow in Android's AVRCP API allows remote attackers to execute arbitrary code without user interaction or additional privileges.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2021-0474?
CVE-2021-0474 is a critical memory corruption vulnerability in Google Android, published on 11 Jun 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
In avrc_msg_cback of avrc_api.cc, there is a possible out of bounds write due to a heap buffer overflow. This could lead to remote code execution 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-177611958
Weakness: CWE-787
Which versions are affected by CVE-2021-0474?
It affects 1 product.
Products include Google Android.
How do I fix CVE-2021-0474?
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-0474 being exploited?
There is no known exploitation of CVE-2021-0474 in the wild and no public exploit code.
Public exploit code: 2 proofs of concept on GitHub.
Other vulnerabilities in Google Android
Sources
Also known as A-177611958, ASB-A-177611958, GHSA-8v4m-q3m2-gfw3.