CVE Tools

CVE-2018-1002206

Public exploit available. Not confirmed exploited in the wild yet. Fixed in 0.21.0.

Published Updated Sources: CVE.org, NVD, GitHub

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
  1. Check whether your software uses SharpCompress and whether it is older than 0.21.0.
  2. Upgrade SharpCompress to version 0.21.0 or later.
  3. Until upgraded, do not extract ZIP files from untrusted sources with affected software.
  4. Review recent ZIP-processing activity for unexpected files outside extraction folders.
nuget install SharpCompress -Version 0.21.0

What 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 record

SharpCompress 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.

EPSS95th
Public exploit
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.

  1. EPSS band changemoderate → lowepss band change
  2. EPSS band changelow → moderateepss band change
  3. EPSS band changemoderate → 0epss band change
  4. EPSS band change0 → moderateepss band change
  5. EPSS band changemoderate → low
  6. EPSS band changemoderate → 0epss band change

Affected products

And 1 more affected product. See all after sign-in

Technical detail

CVSS: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

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.