CVE-2017-13181 Use after free in Android
A double free vulnerability in Android's MtpServer allows local attackers to execute code with elevated privileges without user interaction.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2017-13181?
CVE-2017-13181 is a high-severity use after free 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 the doGetThumb and getThumbnail functions of MtpServer, there is a possible double free due to not NULLing out a freed pointer. This could lead to an 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: 7.0, 7.1.1, 7.1.2, 8.0, 8.1. Android ID: A-67864232.
Weakness: CWE-415
Which versions are affected by CVE-2017-13181?
It affects 1 product.
Products include Google Android.
How do I fix CVE-2017-13181?
No fix has been published for CVE-2017-13181 yet. Limit exposure of the affected software until one is available.
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-2017-13181 being exploited?
There is no known exploitation of CVE-2017-13181 in the wild and no public exploit code.
Other vulnerabilities in Google Android
Sources
Also known as GHSA-92qm-hcqp-vh5r.