CVE-2020-0305 Use after free in Android
A race condition in Android's char_dev.c allows local attackers with system privileges to escalate privileges via a use-after-free vulnerability.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2020-0305?
CVE-2020-0305 is a medium-severity use after free vulnerability in Google Android, published on 17 Jul 2020. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
In cdev_get of char_dev.c, there is a possible use-after-free due to a race condition. This could lead to local escalation of privilege with System execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android-10Android ID: A-153467744
Which versions are affected by CVE-2020-0305?
It affects 2 products.
Products include Google Android, Opensuse Leap.
How do I fix CVE-2020-0305?
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-2020-0305 being exploited?
There is no known exploitation of CVE-2020-0305 in the wild and no public exploit code.
Other vulnerabilities in Google Android
Sources
Also known as DEBIAN-CVE-2020-0305, GHSA-p4pr-3vww-7g7v, UBUNTU-CVE-2020-0305.