CVE-2018-1002206
Sharpcompress Project Sharpcompress vulnerability
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
Sharpcompress. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Sharpcompress Project Sharpcompress runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/adamhathcock/sharpcompress/commit/42b1205fb435de523e6ef8ac5b7bafbe712997f6 · Patch
- github.com/adamhathcock/sharpcompress/pull/374 · Patch
- github.com/snyk/zip-slip-vulnerability · Exploit
- snyk.io/research/zip-slip-vulnerability · Exploit
- snyk.io/vuln/SNYK-DOTNET-SHARPCOMPRESS-60246 · Exploit
- github.com/adamhathcock/sharpcompress/commit/80ceb1c375fdb1b4ffba16528c99089e804ce61f
- nvd.nist.gov/vuln/detail/CVE-2018-1002206
- github.com/advisories/GHSA-fxh6-w476-hgr4
- nvd.nist.gov/vuln/detail/CVE-2018-1002206
- cve.org/CVERecord?id=CVE-2018-1002206
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.