Skip to content
OpenAdvisories
Medium · 5.5 CVE-2018-1002206 EUVD-2019-0666GHSA-fxh6-w476-hgr4SNYK-DOTNET-SHARPCOMPRESS-60246

Directory Traversal in SharpCompress

Published Jul 25, 2018 · Updated Sep 17, 2024 · Assigned by snyk

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 products

VendorProductAffectedFixed
SharpCompress SharpCompress unspecified – < 0.21.0 0.21.0

Affected packages

EcosystemPackageAffectedFixedRecord
NuGet SharpCompress < 0.21.0 0.21.0 GHSA-fxh6-w476-hgr4

References