medium5.5
CVE-2018-1002208
Improper Limitation of a Pathname to a Restricted Directory in SharpZipLib
Impact
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
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| nuget | SharpZipLib | <= 1.0.0-alpha2 | 1.0.0-rc1 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Sharpziplib Project | Sharpziplib | through 0.86.0.518 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/icsharpcode/SharpZipLib/issues/232
- https://github.com/icsharpcode/SharpZipLib/wiki/Release-1.0
- https://github.com/snyk/zip-slip-vulnerability
- https://snyk.io/research/zip-slip-vulnerability
- https://snyk.io/vuln/SNYK-DOTNET-SHARPZIPLIB-60247
- https://github.com/advisories/GHSA-cqj4-m2pc-v9m5
- https://nvd.nist.gov/vuln/detail/CVE-2018-1002208