GHSA-cqj4-m2pc-v9m5
Improper Limitation of a Pathname to a Restricted Directory in SharpZipLib
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| NuGet | SharpZipLib | < 1.0.0-rc1 | 1.0.0-rc1 |
Details
As written in the advisory (Markdown source, shown as plain text).
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
External links from the advisory. They lead to third-party sites.
- https://nvd.nist.gov/vuln/detail/CVE-2018-1002208
- 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