Path Traversal in Adamhathcock Sharpcompress
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) in a Zip archive entry that is mishandled during extraction. This vulnerability is also known as 'Zip-Slip'.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N.
EPSS exploit prediction
EPSS: 0.094 (95.3th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 95th percentile — 95.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.101 · newest: 0.094 · change: -0.008
Affected products
- Adamhathcock Sharpcompress
- Sharpcompress — versions unspecified
Weakness classification (CWE)
Public proof-of-concept exploits
References
- snyk.io/research/zip-slip-vulnerability (Exploit, Third Party Advisory)
- snyk.io/vuln/SNYK-DOTNET-SHARPCOMPRESS-60246 (Exploit, Third Party Advisory)
- github.com/snyk/zip-slip-vulnerability (Exploit, Third Party Advisory)
- github.com/adamhathcock/sharpcompress/pull/374 (Patch, Third Party Advisory, Issue Tracking)
- github.com/adamhathcock/sharpcompress/commit/42b1205fb435de523e6ef8ac5b7bafbe71… (Patch, Third Party Advisory, Issue Tracking)
Frequently asked questions
- What is CVE-2018-1002206?
- CVE-2018-1002206 is a medium-severity vulnerability in Adamhathcock Sharpcompress, classified under Path Traversal. CVSS score: 5.5/10. Published 2018-07-25.
- How severe is CVE-2018-1002206?
- Medium severity. CVSS v3 base score is 5.5 out of 10.
- Is CVE-2018-1002206 known to be exploited?
- 3 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.