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'.
References (5)
Core 5
Core References
Exploit, Third Party Advisory x_refsource_misc
https://snyk.io/research/zip-slip-vulnerability
Exploit, Third Party Advisory x_refsource_misc
https://snyk.io/vuln/SNYK-DOTNET-SHARPCOMPRESS-60246
Exploit, Third Party Advisory x_refsource_misc
https://github.com/snyk/zip-slip-vulnerability
Issue Tracking, Patch, Third Party Advisory x_refsource_confirm
https://github.com/adamhathcock/sharpcompress/pull/374
Issue Tracking, Patch, Third Party Advisory x_refsource_confirm
https://github.com/adamhathcock/sharpcompress/commit/42b1205fb435de523e6ef8ac5b7bafbe712997f6
Scores
CVSS v3
5.5
EPSS
0.0250
EPSS Percentile
85.4%
Attack Vector
LOCAL
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
Details
CWE
CWE-22
Status
published
Products (2)
nuget/SharpCompress
0 - 0.21.0NuGet
sharpcompress_project/sharpcompress
< 0.21.0
Published
Jul 25, 2018
Tracked Since
Feb 18, 2026