Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. unzipper
  4. ›
  5. CVE-2018-1002203

CVE-2018-1002203: Path Traversal

July 25, 2018 (updated October 9, 2019)

unzipper npm library 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.

References

  • github.com/ZJONSSON/node-unzipper/commit/2220ddd5b58f6252069a4f99f9475441ad0b50cd
  • github.com/ZJONSSON/node-unzipper/pull/59
  • nvd.nist.gov/vuln/detail/CVE-2018-1002203
  • snyk.io/research/zip-slip-vulnerability
  • snyk.io/vuln/npm:unzipper:20180415

Code Behaviors & Features

Detect and mitigate CVE-2018-1002203 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 0.8.13

Fixed versions

  • 0.8.13

Solution

Upgrade to version 0.8.13 or above.

Impact 5.5 MEDIUM

CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

npm/unzipper/CVE-2018-1002203.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:53 +0000.