CVE-2018-1002208
MEDIUM5.5EPSS 0.79%Improper Limitation of a Pathname to a Restricted Directory in SharpZipLib
Published: 5/13/2022Modified: 4/28/2026
Description
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'.
Affected packages (2)
- Debian/monofrom 0, < 5.18.0.240+dfsg-1
- NuGet/SharpZipLibfrom 0, < 1.0.0-rc1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
References (7)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2018-1002208
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2018-1002208
- WEBhttps://github.com/icsharpcode/SharpZipLib/issues/232
- WEBhttps://github.com/icsharpcode/SharpZipLib/wiki/Release-1.0
- WEBhttps://github.com/snyk/zip-slip-vulnerability
- WEBhttps://snyk.io/research/zip-slip-vulnerability
- WEBhttps://snyk.io/vuln/SNYK-DOTNET-SHARPZIPLIB-60247