Description
SharpCompress before 0.21.0 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'.
Metrics
CVSS 3.0 5.5/10
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| SharpCompress | SharpCompress | >= unspecified, < 0.21.0 |
References
- https://github.com/adamhathcock/sharpcompress/commit/42b1205fb435de523e6ef8ac5b7bafbe712997f6Issue Tracking, Patch, Third Party Advisory
- https://github.com/adamhathcock/sharpcompress/pull/374Issue Tracking, Patch, Third Party Advisory
- https://github.com/snyk/zip-slip-vulnerabilityExploit, Third Party Advisory
- https://snyk.io/research/zip-slip-vulnerabilityExploit, Third Party Advisory
- https://snyk.io/vuln/SNYK-DOTNET-SHARPCOMPRESS-60246Exploit, Third Party Advisory
- https://github.com/adamhathcock/sharpcompress/commit/42b1205fb435de523e6ef8ac5b7bafbe712997f6Issue Tracking, Patch, Third Party Advisory
- https://github.com/adamhathcock/sharpcompress/pull/374Issue Tracking, Patch, Third Party Advisory
- https://github.com/snyk/zip-slip-vulnerabilityExploit, Third Party Advisory
- https://snyk.io/research/zip-slip-vulnerabilityExploit, Third Party Advisory
- https://snyk.io/vuln/SNYK-DOTNET-SHARPCOMPRESS-60246Exploit, Third Party Advisory
Timeline
- Published
- Jul 25, 2018
- Last modified
- Jun 17, 2026
- NVD status
- Modified