CVE-2017-13216 Memory corruption in Android
A local attacker can exploit an out-of-bounds write in the Android kernel to execute arbitrary code with elevated privileges.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2017-13216?
CVE-2017-13216 is a high-severity memory corruption vulnerability in Google Android, published on 12 Jan 2018. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
In ashmem_ioctl of ashmem.c, there is an out-of-bounds write due to insufficient locking when accessing asma. This could lead to a local elevation of privilege enabling code execution as a privileged process with no additional execution privileges needed. User interaction is not needed for exploitation. Product: Android. Versions: Android kernel. Android ID: A-66954097.
Weakness: CWE-787
Which versions are affected by CVE-2017-13216?
It affects 1 product.
Products include Google Android.
How do I fix CVE-2017-13216?
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-2017-13216 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2017-13216 exists.
Public exploit code: 1 Exploit-DB entry.
Other vulnerabilities in Google Android
Sources
Also known as DEBIAN-CVE-2017-13216, GHSA-c895-rp2x-rjpv, UBUNTU-CVE-2017-13216.