Advisory Database
  • Advisories
  • Dependency Scanning
  1. nuget
  2. ›
  3. SharpZipLib
  4. ›
  5. CVE-2018-1002208

CVE-2018-1002208: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

May 13, 2022 (updated June 30, 2022)

SharpZipLib before 1.0 RC1 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/advisories/GHSA-cqj4-m2pc-v9m5
  • github.com/icsharpcode/SharpZipLib/issues/232
  • github.com/icsharpcode/SharpZipLib/wiki/Release-1.0
  • github.com/snyk/zip-slip-vulnerability
  • nvd.nist.gov/vuln/detail/CVE-2018-1002208
  • snyk.io/research/zip-slip-vulnerability
  • snyk.io/vuln/SNYK-DOTNET-SHARPZIPLIB-60247

Code Behaviors & Features

Detect and mitigate CVE-2018-1002208 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 up to 1.0.0-alpha2

Fixed versions

  • 1.0.0-rc1

Solution

Upgrade to version 1.0.0-rc1 or above. *Note*: 1.0.0-rc1 may be an unstable version. Use caution.

Impact 5.5 MEDIUM

CVSS:3.1/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

nuget/SharpZipLib/CVE-2018-1002208.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:17:19 +0000.