CVE-2018-1000849 Path traversal in n/a
A specially crafted APK file allows attackers to write arbitrary data to specified files, leading to remote code execution in Alpine Linux.
- 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
- None listed
What is CVE-2018-1000849?
CVE-2018-1000849 is a high-severity path traversal vulnerability in n/a, published on 20 Dec 2018. 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
Alpine Linux version Versions prior to 2.6.10, 2.7.6, and 2.10.1 contains a Other/Unknown vulnerability in apk-tools (Alpine Linux' package manager) that can result in Remote Code Execution. This attack appear to be exploitable via A specially crafted APK-file can cause apk to write arbitrary data to an attacker-specified file, due to bugs in handling long link target name and the way a regular file is extracted.. This vulnerability appears to have been fixed in 2.6.10, 2.7.6, and 2.10.1.
Weakness: CWE-20
Which versions are affected by CVE-2018-1000849?
It affects 1 product.
Products include Alpinelinux Alpine Linux.
How do I fix CVE-2018-1000849?
No fix has been published for CVE-2018-1000849 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2018-1000849 being exploited?
There is no known exploitation of CVE-2018-1000849 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-fv7m-mhm7-76v2.