GitHub Advisoryadvisory · NuGet
GHSA-cqj4-m2pc-v9m5 Improper Limitation of a Pathname to a Restricted Directory in SharpZipLib
MEDIUM
Official page ↗
- Aliases
- CVE-2018-1002208
- Ecosystem
- NuGet
- Packages
- SharpZipLib
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
- Weaknesses
- CWE-22
- Reviewed
- 2022-06-30
Affected packages
• NuGet SharpZipLib: < 1.0.0-rc1 → fixed in 1.0.0-rc1
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'.
Related
Alias · CVE (1)
- CVE-2018-1002208 SharpZipLib before 1.0 RC1 is vulnerable to directory traversal, allowing attackers to write to arbitrary files via a ../ (dot dot slash)… vulnerability
Weakness · CWE (1)
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2018-1002208 advisory
- https://github.com/icsharpcode/SharpZipLib/issues/232 web
- https://github.com/icsharpcode/SharpZipLib/wiki/Release-1.0 web
- https://github.com/snyk/zip-slip-vulnerability web
- https://snyk.io/research/zip-slip-vulnerability web
- https://snyk.io/vuln/SNYK-DOTNET-SHARPZIPLIB-60247 web