CVE-2018-1002208
MEDIUM 5.5CVSS 3.1Improper Limitation of a Pathname to a Restricted Directory in SharpZipLib
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'.
- Published
- 25 Jul 2018
- Last modified
- 8 Jul 2026
- Assigned by
- report@snyk.io
- NVD status
- Modified
- Weakness
- CWE-22
- Also known as
- GHSA-cqj4-m2pc-v9m5SNYK-DOTNET-SHARPZIPLIB-60247
- Sources
- NVDJSONOSV GHSA-cqj4-m2pc-v9m5JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | sharpziplib_project | sharpziplibcpe:2.3:a:sharpziplib_project:sharpziplib:*:*:*:*:*:*:*:* |
<= 0.86.0.518 | |
| OSV | NuGet | SharpZipLib | < 1.0.0-rc1 | 1.0.0-rc1 |
References
- https://github.com/icsharpcode/SharpZipLib/issues/232 · Issue Tracking, Patch, Third Party Advisory, WEB
- https://github.com/icsharpcode/SharpZipLib/wiki/Release-1.0 · Issue Tracking, Patch, Third Party Advisory, WEB
- https://github.com/snyk/zip-slip-vulnerability · Third Party Advisory, WEB
- https://snyk.io/research/zip-slip-vulnerability · Third Party Advisory, WEB
- https://snyk.io/vuln/SNYK-DOTNET-SHARPZIPLIB-60247 · Exploit, Patch, Technical Description, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2018-1002208 · ADVISORY
History
- 25 Nov 2026 20:21 UTC · NVD: first stored (published 25 Jul 2018)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 13 May 2022)