{"id":"CVE-2018-1002208","aliases":["DEBIAN-CVE-2018-1002208","EUVD-2022-3612","GHSA-cqj4-m2pc-v9m5","SNYK-DOTNET-SHARPZIPLIB-60247","UBUNTU-CVE-2018-1002208"],"status":"published","title":"Improper Limitation of a Pathname to a Restricted Directory in SharpZipLib","description":"SharpZipLib before 1.0 RC1 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.1","score":5.5,"vector":"CVSS:3.1/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.09884,"percentile":0.95603,"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-23T18:02:56Z","fixes":[{"ecosystem":"NuGet","package":"SharpZipLib","fixed_in":["1.0.0-rc1"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:12","package":"mono","fixed_in":["5.18.0.240+dfsg-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"mono","fixed_in":["5.18.0.240+dfsg-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"mono","fixed_in":["5.18.0.240+dfsg-1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"NuGet","package":"SharpZipLib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"1.0.0-alpha2"},{"fixed":"1.0.0-rc1"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"mono","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.18.0.240+dfsg-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"mono","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.18.0.240+dfsg-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"mono","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.18.0.240+dfsg-1"}]}]},{"source":"osv","ecosystem":"NuGet","package":"SharpZipLib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.0-rc1"}]}],"versions":["0.86.0","1.0.0-alpha1","1.0.0-alpha2"]},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"mono","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.10.8.1-5ubuntu2","3.2.3+dfsg-5","3.2.3+dfsg-7ubuntu1","3.2.8+dfsg-4ubuntu1","3.2.8+dfsg-4ubuntu1.1"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"mono","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.2.8+dfsg-4ubuntu4","4.2.1.102+dfsg2-5ubuntu1","4.2.1.102+dfsg2-7ubuntu4"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"mono-reference-assemblies","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.12.1+dfsg-1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"mono","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.6.2.7+dfsg-1ubuntu1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"mono-reference-assemblies","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.12.1+dfsg-2"]}],"products":[{"vendor":"icsharpcode","product":"sharpziplib"},{"vendor":"sharpziplib","product":"sharpziplib"},{"vendor":"sharpziplib_project","product":"sharpziplib"}],"references":[{"url":"https://snyk.io/research/zip-slip-vulnerability","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://github.com/icsharpcode/SharpZipLib/issues/232","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/icsharpcode/SharpZipLib/wiki/Release-1.0","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Patch","Third Party Advisory","fix","web"]},{"url":"https://snyk.io/vuln/SNYK-DOTNET-SHARPZIPLIB-60247","tags":["x_refsource_MISC","x_transferred","Exploit","Patch","Technical Description","fix","web","report"]},{"url":"https://github.com/snyk/zip-slip-vulnerability","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-1002208","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-cqj4-m2pc-v9m5"},{"url":"https://security-tracker.debian.org/tracker/CVE-2018-1002208","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2018-1002208","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-1002208","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2018-1002208","description":"SharpZipLib before 1.0 RC1 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-08-05T12:47:57.5Z","cwes":["CWE-22"],"updated_at":"2026-11-02T14:35:09.139955Z"}],"euvd":[{"id":"EUVD-2022-3612","description":"SharpZipLib before 1.0 RC1 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-08-05T12:47:57Z","updated_at":"2026-11-03T02:39:25.8334Z"}],"ghsa":[{"id":"GHSA-cqj4-m2pc-v9m5","title":"Improper Limitation of a Pathname to a Restricted Directory in SharpZipLib","description":"SharpZipLib before 1.0 RC1 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":"2022-05-13T01:35:03Z","modified":"2023-01-27T05:02:16Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/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:36:17.742171Z"}],"nvd":[{"id":"CVE-2018-1002208","description":"SharpZipLib before 1.0 RC1 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:02.157Z","modified":"2026-06-17T01:33:22.19Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/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-1002208","description":"SharpZipLib before 1.0 RC1 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:02.157Z","modified":"2026-10-20T10:49:41.201951743Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/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":"DEBIAN-CVE-2018-1002208","description":"SharpZipLib before 1.0 RC1 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:02.157Z","modified":"2026-10-23T18:02:56.151097857Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","level":"medium"}],"updated_at":"2026-11-02T15:45:29.988046Z"},{"id":"GHSA-cqj4-m2pc-v9m5","title":"Improper Limitation of a Pathname to a Restricted Directory in SharpZipLib","description":"SharpZipLib before 1.0 RC1 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":"2022-05-13T01:35:03Z","modified":"2026-07-08T05:56:34.770610139Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/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:45.28161Z"},{"id":"UBUNTU-CVE-2018-1002208","description":"SharpZipLib before 1.0 RC1 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:00Z","modified":"2026-04-22T11:39:03.08275Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","level":"medium"}],"updated_at":"2026-11-02T15:54:16.544091Z"}]}}
