{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "fixed": "0.1.0"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "a651d1d58f11012b194bb2d817adf616d5f742d6"
            },
            {
              "fixed": "a64058cf21b8aada501bba923c9aab66fb6febf0"
            }
          ],
          "repo": "https://github.com/sassoftware/go-rpmutils",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "In package github.com/sassoftware/go-rpmutils/cpio before version 0.1.0, the CPIO extraction functionality doesn't sanitize the paths of the archived files for leading and non-leading \"..\" which leads in file extraction outside of the current directory. Note: the fixing commit was applied to all affected versions which were re-released.",
  "id": "CVE-2020-7667",
  "modified": "2026-03-13T21:47:59.360143584Z",
  "published": "2020-06-24T12:15:12.677Z",
  "references": [
    {
      "type": "FIX",
      "url": "https://github.com/sassoftware/go-rpmutils/commit/a64058cf21b8aada501bba923c9aab66fb6febf0"
    },
    {
      "type": "EVIDENCE",
      "url": "https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMSASSOFTWAREGORPMUTILSCPIO-570427"
    }
  ],
  "related": [
    "SNYK-GOLANG-GITHUBCOMSASSOFTWAREGORPMUTILSCPIO-570427"
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N",
      "type": "CVSS_V3"
    }
  ]
}