MEDIUM5.5
GHSA-7378-6268-4278
DotNetZip Zip-Slip Vulnerability
Quick fix
GHSA-7378-6268-4278 — DotNetZip: upgrade to the fixed version with the command below.
dotnet add package DotNetZip --version 1.11.0Details
DotNetZip.Semvered before 1.11.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'.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://nvd.nist.gov/vuln/detail/CVE-2018-1002205[ADVISORY]
- https://github.com/haf/DotNetZip.Semverd/pull/121[WEB]
- https://github.com/haf/DotNetZip.Semverd/commit/55d2c13c0cc64654e18fcdd0038fdb3d7458e366[WEB]
- https://github.com/snyk/zip-slip-vulnerability[WEB]
- https://snyk.io/research/zip-slip-vulnerability[WEB]
- https://snyk.io/vuln/SNYK-DOTNET-DOTNETZIP-60245[WEB]