Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2018-1002207

mholt/archiver golang package before e4ef56d48eb029648b0e895bb0b6a393ef0829c3 is vulnerable to directory traversal, allowing attackers to write to arbitrary files via a ../ (dot dot slash) in an archive entry that is mishandled during extraction. This vulnerability is also known as 'Zip-Slip'.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2018-1002207
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 10:00 UTC · Revision 1

Source evidence

CVE-2018-1002207

core-osv · Original source

Published 25 Jul 2018, 17:29 UTC

mholt/archiver golang package before e4ef56d48eb029648b0e895bb0b6a393ef0829c3 is vulnerable to directory traversal, allowing attackers to write to arbitrary files via a ../ (dot dot slash) in an archive entry that is mishandled during extraction. This vulnerability is also known as 'Zip-Slip'.

osv:CVE-2018-1002207
Complete source record
{
  "id": "5ddce819d7a43d6f9efdec6e2e2733c8331431bfaa6330101666848e015fa125",
  "url": "https://osv.dev/vulnerability/CVE-2018-1002207",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2018-1002207",
    "summary": "mholt/archiver golang package before e4ef56d48eb029648b0e895bb0b6a393ef0829c3 is vulnerable to directory traversal, allowing attackers to write to arbitrary files via a ../ (dot dot slash) in an archive entry that is mishandled during extraction. This vulnerability is also known as 'Zip-Slip'.",
    "evidence": "osv:CVE-2018-1002207",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2018-1002207",
      "aliases": [
        "CVE-2018-1002207",
        "GHSA-5wmg-j84w-4jj4",
        "GO-2022-0799",
        "SNYK-GOLANG-GITHUBCOMMHOLTARCHIVERCMDARCHIVER-50071"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/mholt/archiver",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "cdc68dd1f170b8dfc1a0d2231b5bb0967ed67006"
                },
                {
                  "fixed": "e4ef56d48eb029648b0e895bb0b6a393ef0829c3"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:archiver_project:archiver:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "2.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "e4ef56d48eb029648b0e895bb0b6a393ef0829c3"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v2.0.0",
            "v2.0",
            "v1.2",
            "v1.1.2",
            "v1.1.1",
            "v1.1",
            "v1.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-1002207.json"
          }
        }
      ],
      "modified": "2026-10-20T10:49:41.153956723Z",
      "provider": "osv",
      "references": [
        "https://github.com/mholt/archiver/commit/e4ef56d48eb029648b0e895bb0b6a393ef0829c3",
        "https://github.com/mholt/archiver/pull/65",
        "https://github.com/snyk/zip-slip-vulnerability",
        "https://snyk.io/research/zip-slip-vulnerability",
        "https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMMHOLTARCHIVERCMDARCHIVER-50071"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2018-1002207",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 380688,
  "published_at": "2018-07-25T17:29:02.047+00:00"
}