{
  "schema_version": "1.4.0",
  "id": "GHSA-fv7m-mhm7-76v2",
  "modified": "2022-05-13T01:27:55Z",
  "published": "2022-05-13T01:27:55Z",
  "aliases": [
    "CVE-2018-1000849"
  ],
  "details": "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.",
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
    }
  ],
  "affected": [],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-1000849"
    },
    {
      "type": "WEB",
      "url": "https://alpinelinux.org/posts/Alpine-3.8.1-released.html"
    },
    {
      "type": "WEB",
      "url": "https://git.alpinelinux.org/cgit/apk-tools/commit/?id=6484ed9849f03971eb48ee1fdc21a2f128247eb1"
    },
    {
      "type": "WEB",
      "url": "https://justi.cz/security/2018/09/13/alpine-apk-rce.html"
    }
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-20"
    ],
    "severity": "HIGH",
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2018-12-20T15:29:00Z"
  }
}