CVE-2021-0311 Memory corruption in Android
A missing bounds check in Android's H264 stream queue allows remote attackers to disclose information via a crafted file, requiring user interaction.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2021-0311?
CVE-2021-0311 is a medium-severity memory corruption vulnerability in Google Android, published on 11 Jan 2021. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
In ElementaryStreamQueue::dequeueAccessUnitH264() of ESQueue.cpp, there is a possible out of bounds write due to a missing bounds check. This could lead to remote information disclosure with no additional execution privileges needed. User interaction is needed for exploitation. Product: Android; Versions: Android-9, Android-10, Android-11, Android-8.0, Android-8.1; Android ID: A-170240631.
Weakness: CWE-787
Which versions are affected by CVE-2021-0311?
It affects 1 product.
Products include Google Android.
How do I fix CVE-2021-0311?
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-0311 being exploited?
There is no known exploitation of CVE-2021-0311 in the wild and no public exploit code.
Other vulnerabilities in Google Android
Sources
Also known as A-170240631, ASB-A-170240631, GHSA-8cw3-r54r-hfvp.