Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2018-1002203

unzipper npm library before 0.8.13 is vulnerable to directory traversal, allowing attackers to write to arbitrary files via a ../ (dot dot slash) in a Zip 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-1002203
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 10:20 UTC · Revision 1

Source evidence

CVE-2018-1002203

core-osv · Original source

Published 25 Jul 2018, 17:29 UTC

unzipper npm library before 0.8.13 is vulnerable to directory traversal, allowing attackers to write to arbitrary files via a ../ (dot dot slash) in a Zip archive entry that is mishandled during extraction. This vulnerability is also known as 'Zip-Slip'.

osv:CVE-2018-1002203
Complete source record
{
  "id": "4125e4c2fec5474a9d9f0058c13277bd08c3e56c3e4bb481d224f013cf73b5f8",
  "url": "https://osv.dev/vulnerability/CVE-2018-1002203",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2018-1002203",
    "summary": "unzipper npm library before 0.8.13 is vulnerable to directory traversal, allowing attackers to write to arbitrary files via a ../ (dot dot slash) in a Zip archive entry that is mishandled during extraction. This vulnerability is also known as 'Zip-Slip'.",
    "evidence": "osv:CVE-2018-1002203",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2018-1002203",
      "aliases": [
        "CVE-2018-1002203",
        "GHSA-884w-698f-927f"
      ],
      "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/zjonsson/node-unzipper",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2220ddd5b58f6252069a4f99f9475441ad0b50cd"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "fixed": "2220ddd5b58f6252069a4f99f9475441ad0b50cd"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v0.1.11",
            "v0.1.10",
            "v0.1.8",
            "v0.1.7",
            "v0.1.6",
            "v0.1.6-alpha",
            "v0.1.5",
            "v0.1.4",
            "v0.1.3",
            "v0.1.2",
            "v0.1.1",
            "v0.1.0",
            "v0.0.4",
            "v0.0.3",
            "v0.0.2",
            "v0.0.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-1002203.json"
          }
        }
      ],
      "modified": "2026-10-20T10:50:15.739071127Z",
      "provider": "osv",
      "references": [
        "https://github.com/ZJONSSON/node-unzipper/commit/2220ddd5b58f6252069a4f99f9475441ad0b50cd",
        "https://github.com/ZJONSSON/node-unzipper/pull/59",
        "https://snyk.io/research/zip-slip-vulnerability",
        "https://snyk.io/vuln/npm:unzipper:20180415",
        "https://github.com/snyk/zip-slip-vulnerability"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:a:unzipper_project:unzipper:*:*:*:*:*:node.js:*:*"
            ],
            "vendor_product": "unzipper_project:unzipper",
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "0.8.13"
                  }
                ],
                "source": "CPE_RANGE"
              }
            ]
          },
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "0.8.13"
                  }
                ],
                "source": "DESCRIPTION"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2018-1002203",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 381464,
  "published_at": "2018-07-25T17:29:01.157+00:00"
}