CVE-2018-1002206
Summary
| CVE | CVE-2018-1002206 |
|---|---|
| State | PUBLISHED |
| Assigner | snyk |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2018-07-25 17:29:01 UTC |
| Updated | 2026-06-05 03:10:18 UTC |
| Description | 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'. |
Risk And Classification
Primary CVSS: v3.0 5.5 MEDIUM from [email protected]
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
EPSS: 0.025040000 probability, percentile 0.856430000 (date 2026-06-09)
Problem Types: CWE-22 | CWE-22 CWE-22
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.0 | [email protected] | Primary | 5.5 | MEDIUM | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
| 2.0 | [email protected] | Primary | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
CVSS v3.0 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
NoneUser Interaction
RequiredScope
UnchangedConfidentiality
NoneIntegrity
HighAvailability
NoneCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
CVSS v2.0 Breakdown
Access Vector
NetworkAccess Complexity
MediumAuthentication
NoneConfidentiality
NoneIntegrity
PartialAvailability
NoneAV:N/AC:M/Au:N/C:N/I:P/A:N
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Adamhathcock | Sharpcompress | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | SharpCompress | SharpCompress | affected unspecified 0.21.0 custom | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| GitHub - snyk/zip-slip-vulnerability: Zip Slip Vulnerability (Arbitrary file write through archive extraction) | af854a3a-2127-422b-91ae-364da2661108 | github.com | Exploit, Third Party Advisory |
| Merge pull request #374 from odinn1984/feat/fail_on_outside_target_files · adamhathcock/sharpcompress@42b1205 · GitHub | af854a3a-2127-422b-91ae-364da2661108 | github.com | Issue Tracking, Patch, Third Party Advisory |
| Zip Slip Vulnerability | Snyk | af854a3a-2127-422b-91ae-364da2661108 | snyk.io | Exploit, Third Party Advisory |
| fix: prevent extracting archived files outside of target path by odinn1984 · Pull Request #374 · adamhathcock/sharpcompress · GitHub | af854a3a-2127-422b-91ae-364da2661108 | github.com | Issue Tracking, Patch, Third Party Advisory |
| Arbitrary File Write via Archive Extraction (Zip Slip) in sharpcompress | Snyk | af854a3a-2127-422b-91ae-364da2661108 | snyk.io | Exploit, Third Party Advisory |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
Legacy QID Mappings
- 983791 Dotnet (nuget) Security Update for sharpcompress (GHSA-fxh6-w476-hgr4)