What’s Vulnerable › Vulnerabilities
CVE-2018-1000849
- Severity: high (CVSS 8.8 v3.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 3.5% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2018-12-20 · updated 2026-06-17
- Weakness: CWE-20
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.
Affected products
- Alpinelinux Alpine Linux: before 2.6.10; from 2.7.0 before 2.7.6; from 2.7.7 before 2.10.1 — fixed in 2.10.1, 2.6.10, 2.7.6
How to fix
Upgrade to a fixed version: Alpinelinux Alpine Linux 2.10.1, 2.6.10, 2.7.6. Check the vendor advisory for mitigations.
References
- https://alpinelinux.org/posts/Alpine-3.8.1-released.html
- https://git.alpinelinux.org/cgit/apk-tools/commit/?id=6484ed9849f03971eb48ee1fdc21a2f128247eb1
- https://justi.cz/security/2018/09/13/alpine-apk-rce.html
- https://alpinelinux.org/posts/Alpine-3.8.1-released.html
- https://git.alpinelinux.org/cgit/apk-tools/commit/?id=6484ed9849f03971eb48ee1fdc21a2f128247eb1
- https://justi.cz/security/2018/09/13/alpine-apk-rce.html
Get alerted when CVE-2018-1000849 or the next vulnerability affects your stack