Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2018-1002201

zt-zip before 1.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-1002201
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 12:16 UTC · Revision 1

Source evidence

CVE-2018-1002201

core-osv · Original source

Published 25 Jul 2018, 17:29 UTC

zt-zip before 1.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-1002201
Complete source record
{
  "id": "f9ca068b721c7632b8b997849d25ec4a7bc1791f9896799c4223dfbce713a8ae",
  "url": "https://osv.dev/vulnerability/CVE-2018-1002201",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2018-1002201",
    "summary": "zt-zip before 1.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-1002201",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2018-1002201",
      "aliases": [
        "CVE-2018-1002201",
        "GHSA-qcf3-9vmh-xw4r",
        "SNYK-JAVA-ORGZEROTURNAROUND-31681"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/zeroturnaround/zt-zip",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2aa8c72a6b2a2cb14e8a5cd3891fbba4d6cbd905"
                },
                {
                  "fixed": "759b72f33bc8f4d69f84f09fcb7f010ad45d6fff"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:jrebel:zt-zip:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.13"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "759b72f33bc8f4d69f84f09fcb7f010ad45d6fff"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "zt-zip-1.12",
            "zt-zip-1.11",
            "zt-zip-1.10",
            "zt-zip-1.9",
            "zt-zip-1.8",
            "zt-zip-1.7",
            "zt-zip-1.6",
            "zt-zip-1.5",
            "zt-zip-1.4",
            "zt-zip-1.3",
            "zt-zip-1.2",
            "zt-zip-1.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-1002201.json",
            "vanir_signatures": [
              {
                "id": "CVE-2018-1002201-22c34fac",
                "digest": {
                  "length": 731,
                  "function_hash": "279750403654855414608833557685175274410"
                },
                "source": "https://github.com/zeroturnaround/zt-zip/commit/759b72f33bc8f4d69f84f09fcb7f010ad45d6fff",
                "target": {
                  "file": "src/main/java/org/zeroturnaround/zip/ZipUtil.java",
                  "function": "process"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2018-1002201-9dc389e7",
                "digest": {
                  "length": 624,
                  "function_hash": "198455943215700953213808939616267215482"
                },
                "source": "https://github.com/zeroturnaround/zt-zip/commit/759b72f33bc8f4d69f84f09fcb7f010ad45d6fff",
                "target": {
                  "file": "src/main/java/org/zeroturnaround/zip/ZipUtil.java",
                  "function": "process"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2018-1002201-d82e4601",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "310601281774499144755135626491352513510",
                    "274360009946576874522182633462003745653",
                    "73907614146411361057697097564316388116",
                    "251291736049655420166330684889846297678",
                    "220410006497838349652649523892244530990",
                    "31749547053909711789217358615698290078",
                    "100437989808543317718932101059407095646",
                    "162595804253701327466380441767224941935",
                    "111021639111426693295759285248971701321",
                    "124685360062642808386369791959263542763",
                    "144328565222130707453886345860151779529",
                    "119303119309932656875971493311413567506",
                    "41540335934033229366450312583384951076",
                    "104845014972195126914457114245168811422",
                    "73907614146411361057697097564316388116",
                    "251291736049655420166330684889846297678"
                  ]
                },
                "source": "https://github.com/zeroturnaround/zt-zip/commit/759b72f33bc8f4d69f84f09fcb7f010ad45d6fff",
                "target": {
                  "file": "src/main/java/org/zeroturnaround/zip/ZipUtil.java"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2018-1002201-e8dac007",
                "digest": {
                  "length": 604,
                  "function_hash": "86450819048780533944105473355824873319"
                },
                "source": "https://github.com/zeroturnaround/zt-zip/commit/759b72f33bc8f4d69f84f09fcb7f010ad45d6fff",
                "target": {
                  "file": "src/main/java/org/zeroturnaround/zip/ZipUtil.java",
                  "function": "process"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-20T13:25:15Z"
          }
        }
      ],
      "modified": "2026-10-20T13:25:15.151820938Z",
      "provider": "osv",
      "references": [
        "https://github.com/zeroturnaround/zt-zip/blob/zt-zip-1.13/Changelog.txt",
        "https://github.com/zeroturnaround/zt-zip/commit/759b72f33bc8f4d69f84f09fcb7f010ad45d6fff",
        "https://snyk.io/research/zip-slip-vulnerability",
        "https://snyk.io/vuln/SNYK-JAVA-ORGZEROTURNAROUND-31681",
        "https://github.com/snyk/zip-slip-vulnerability"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2018-1002201",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 387661,
  "published_at": "2018-07-25T17:29:00.5+00:00"
}