GitHub Advisoryadvisory · NuGet
GHSA-fxh6-w476-hgr4 Directory Traversal in SharpCompress
MEDIUM
Official page ↗
- Aliases
- CVE-2018-1002206
- Ecosystem
- NuGet
- Packages
- SharpCompress
- Severity
- Moderate
- CVSS vector
- CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
- Weaknesses
- CWE-22
- Reviewed
- 2019-09-03
Affected packages
• NuGet SharpCompress: < 0.21.0 → fixed in 0.21.0
Description
SharpCompress prior to version 0.21 is vulnerable to path traversal issue in archive extraction.
Related
Alias · CVE (1)
- CVE-2018-1002206 SharpCompress before 0.21.0 is vulnerable to directory traversal, allowing attackers to write to arbitrary files via a ../ (dot dot slash)… vulnerability
Weakness · CWE (1)
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2018-1002206 advisory
- https://github.com/adamhathcock/sharpcompress/pull/374 web
- https://github.com/adamhathcock/sharpcompress/commit/42b1205fb435de523e6ef8ac5b7bafbe712997f6 web
- https://github.com/adamhathcock/sharpcompress/commit/80ceb1c375fdb1b4ffba16528c99089e804ce61f web
- https://github.com/snyk/zip-slip-vulnerability web
- https://snyk.io/research/zip-slip-vulnerability web
- https://snyk.io/vuln/SNYK-DOTNET-SHARPCOMPRESS-60246 web