CVE-2018-1002206
Public exploit available. Not confirmed exploited in the wild yet. Fixed in 0.21.0.
What to do
Find your product and version, then upgrade to the build on the right.
- SharpCompressAffected: ≥ unspecified, < 0.21.0Upgrade to: 0.21.0Stated by: CVE record
- NuGet SharpCompressAffected: < 0.21.0Upgrade to: 0.21.0Stated by: GitHub advisory
- Adamhathcock SharpcompressAffected: < 0.21.0Upgrade to: 0.21.0Stated by: NVD
Versions as the sources state them. Full version matrix after sign-in
Steps
Written by AI from the record- Check whether your software uses SharpCompress and whether it is older than 0.21.0.
- Upgrade SharpCompress to version 0.21.0 or later.
- Until upgraded, do not extract ZIP files from untrusted sources with affected software.
- Review recent ZIP-processing activity for unexpected files outside extraction folders.
nuget install SharpCompress -Version 0.21.0What it is
From the CVE record
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'.
In plain language
Written by AI from the recordSharpCompress before 0.21.0 can let a malicious ZIP file place files outside the intended folder, so businesses that extract untrusted ZIP files should upgrade.
SharpCompress before 0.21.0 has a Zip Slip directory-traversal flaw (CWE-22) that mishandles ../ paths in ZIP entries, enabling arbitrary file writes during extraction.
If you're affected
- Arbitrary file overwrites
- Application configuration tampering
- Operational disruption
- Potential system compromise
Exploitation
Where each signal puts this CVE on the scale from published to confirmed exploited.
- CISA KEV
Not in the catalog. CISA has not confirmed exploitation.
- Public exploits
3 sources with a proof of concept or module.
Exploit links, PoCs and Metasploit modules after sign-in- EPSS
9.4% chance of exploitation activity in the next 30 days, which ranks it in the 95th percentile of scored CVEs.
Exploit Prediction Scoring System, FIRST.org. A probability, not a confirmation.
Lifecycle
A public exploit existed 90 days before the patch.
- EPSS band changemoderate → lowepss band change
- EPSS band changelow → moderateepss band change
- EPSS band changemoderate → 0epss band change
- EPSS band change0 → moderateepss band change
- EPSS band changemoderate → low
- EPSS band changemoderate → 0epss band change
Affected products
And 1 more affected product. See all after sign-in
Technical detail
CVSS 3.0 vector
Open in the CVSS calculatorCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
Scored 5.5 by NVD.
How it is reached
- Attack Vector LocalRequires local access to the vulnerable system (e.g. local login, malicious file)
- Attack Complexity LowNo special conditions — the attack can be reliably reproduced
- Privileges Required NoneNo authentication required — anyone can exploit this
- User Interaction RequiredA user must click a link, open a file, or perform some action
Scope
- Scope UnchangedImpact is limited to the vulnerable component itself
Impact if exploited
- Confidentiality NoneNo confidentiality impact
- Integrity HighTotal loss of integrity — attacker can modify any data in the component
- Availability NoneNo availability impact
Weaknesses
ATT&CK techniques
Mapped from the weaknesses above (CWE to ATT&CK), not observed in attacks.
Sources
References in the record
- snyk.io/research/zip-slip-vulnerability
- snyk.io/vuln/SNYK-DOTNET-SHARPCOMPRESS-60246
- github.com/snyk/zip-slip-vulnerability
And 4 more references. See all after sign-in
Watch the software you run.
My Stack ranks new CVEs for your products by real-world exploitation, so the next serious one reaches you without reading every advisory.
We'll flag the next CVE, public exploit or patch for SharpCompress, not every advisory. This one: public exploit.
A free account adds
- The full version matrix and every affected product
- Exploit links, proofs of concept and Metasploit modules
- Email alerts for the products you watch
- The same data over REST API, MCP and CLI