CVE-2021-0703 Use after free in Android
A use-after-free vulnerability in Android's init process allows local attackers with physical access to escalate privileges without user interaction.
- 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-0703?
CVE-2021-0703 is a medium-severity use after free vulnerability in Google Android, published on 22 Oct 2021. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
In SecondStageMain of init.cpp, there is a possible use after free due to incorrect shared_ptr usage. This could lead to local escalation of privilege if the attacker has physical access to the device, with no additional execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android-11Android ID: A-184569329
Weakness: CWE-416
Which versions are affected by CVE-2021-0703?
It affects 1 product.
Products include Google Android.
How do I fix CVE-2021-0703?
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-0703 being exploited?
There is no known exploitation of CVE-2021-0703 in the wild and no public exploit code.
Other vulnerabilities in Google Android
Sources
Also known as A-184569329, ASB-A-184569329, GHSA-r5f5-hqc8-7rx6.