{"id":"CVE-2018-1002206","aliases":["EUVD-2019-0666","GHSA-fxh6-w476-hgr4","SNYK-DOTNET-SHARPCOMPRESS-60246"],"status":"published","title":"Directory Traversal in SharpCompress","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'.","severity":{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.09332,"percentile":0.95418,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-22"],"published":"2018-07-25T17:00:00Z","modified":"2026-10-20T10:50:18Z","fixes":[{"ecosystem":"NuGet","package":"sharpcompress","fixed_in":["0.21.0"],"sources":["ghsa"]},{"ecosystem":"NuGet","package":"SharpCompress","fixed_in":["0.21.0"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"NuGet","package":"sharpcompress","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.21.0"}]}]},{"source":"osv","ecosystem":"NuGet","package":"SharpCompress","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.21.0"}]}],"versions":["0.10.0","0.10.1","0.10.1.1","0.10.1.3","0.10.2","0.10.3","0.11.0","0.11.1","0.11.2","0.11.3","0.11.4","0.11.5","0.11.6","0.12.0","0.12.1","0.12.2","0.12.3","0.12.4","0.13.0","0.13.1","0.14.0","0.14.1","0.15.0","0.15.1","0.15.2","0.16.0","0.16.1","0.16.2","0.17.0","0.17.1","0.18.0","0.18.1","0.18.2","0.19.0","0.19.1","0.19.2","0.2.0","0.20.0","0.3.0","0.4.0","0.5.0","0.6.0","0.7.0","0.8.0","0.8.1","0.8.2","0.9.0"]}],"products":[{"vendor":"adamhathcock","product":"sharpcompress"},{"vendor":"sharpcompress","product":"sharpcompress"}],"references":[{"url":"https://snyk.io/research/zip-slip-vulnerability","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"https://snyk.io/vuln/SNYK-DOTNET-SHARPCOMPRESS-60246","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"https://github.com/snyk/zip-slip-vulnerability","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"https://github.com/adamhathcock/sharpcompress/pull/374","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/adamhathcock/sharpcompress/commit/42b1205fb435de523e6ef8ac5b7bafbe712997f6","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/adamhathcock/sharpcompress/commit/80ceb1c375fdb1b4ffba16528c99089e804ce61f","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-1002206","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-fxh6-w476-hgr4"}],"sources":{"cve":[{"id":"CVE-2018-1002206","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'.","status":"published","published":"2018-07-25T17:00:00Z","modified":"2024-09-17T03:29:09.493Z","cwes":["CWE-22"],"updated_at":"2026-11-02T14:35:09.139955Z"}],"euvd":[{"id":"EUVD-2019-0666","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'.","status":"published","published":"2018-07-25T17:00:00Z","modified":"2024-09-17T03:29:09Z","updated_at":"2026-11-03T00:28:31.175316Z"}],"ghsa":[{"id":"GHSA-fxh6-w476-hgr4","title":"Directory Traversal in SharpCompress","description":"SharpCompress prior to version 0.21 is vulnerable to path traversal issue in archive extraction.","status":"published","published":"2019-09-11T22:59:57Z","modified":"2026-06-09T11:55:22Z","cvss":[{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","level":"medium"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:40:23.739691Z"}],"nvd":[{"id":"CVE-2018-1002206","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'.","status":"published","published":"2018-07-25T17:29:01.94Z","modified":"2026-06-17T01:33:21.88Z","cvss":[{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:04:35.310988Z"}],"osv":[{"id":"CVE-2018-1002206","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'.","status":"published","published":"2018-07-25T17:29:01.94Z","modified":"2026-10-20T10:50:18.398085375Z","cvss":[{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:07.641418Z"},{"id":"GHSA-fxh6-w476-hgr4","title":"Directory Traversal in SharpCompress","description":"SharpCompress prior to version 0.21 is vulnerable to path traversal issue in archive extraction.","status":"published","published":"2019-09-11T22:59:57Z","modified":"2026-09-10T03:48:44.56529886Z","cvss":[{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","level":"medium"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T15:46:47.119724Z"}]}}
