CVEvulnerability
CVE-2018-1002206
5.5 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2018-07-25
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.0 ([email protected])
- 5.5 MEDIUM — CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
- CVSS 2.0 ([email protected])
- 4.3 MEDIUM — AV:N/AC:M/Au:N/C:N/I:P/A:N
- Weaknesses
- CWE-22
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'.
Affected configurations
• adamhathcock sharpcompress (< 0.21.0)
Related
Weakness · CWE (1)
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness
References
- https://github.com/adamhathcock/sharpcompress/commit/42b1205fb435de523e6ef8ac5b7bafbe712997f6 Issue Tracking, Patch, Third Party Advisory
- https://github.com/adamhathcock/sharpcompress/pull/374 Issue Tracking, Patch, Third Party Advisory
- https://github.com/snyk/zip-slip-vulnerability Exploit, Third Party Advisory
- https://snyk.io/research/zip-slip-vulnerability Exploit, Third Party Advisory
- https://snyk.io/vuln/SNYK-DOTNET-SHARPCOMPRESS-60246 Exploit, Third Party Advisory
- https://github.com/adamhathcock/sharpcompress/commit/42b1205fb435de523e6ef8ac5b7bafbe712997f6 Issue Tracking, Patch, Third Party Advisory
- https://github.com/adamhathcock/sharpcompress/pull/374 Issue Tracking, Patch, Third Party Advisory
- https://github.com/snyk/zip-slip-vulnerability Exploit, Third Party Advisory
- https://snyk.io/research/zip-slip-vulnerability Exploit, Third Party Advisory
- https://snyk.io/vuln/SNYK-DOTNET-SHARPCOMPRESS-60246 Exploit, Third Party Advisory