{"id":"GHSA-cqj4-m2pc-v9m5","summary":"Improper Limitation of a Pathname to a Restricted Directory in SharpZipLib","details":"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'.","aliases":["CVE-2018-1002208","SNYK-DOTNET-SHARPZIPLIB-60247"],"modified":"2026-07-08T05:56:34.770610139Z","published":"2022-05-13T01:35:03Z","database_specific":{"github_reviewed_at":"2022-06-30T14:41:55Z","nvd_published_at":"2018-07-25T17:29:00Z","cwe_ids":["CWE-22"],"severity":"MODERATE","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-1002208"},{"type":"WEB","url":"https://github.com/icsharpcode/SharpZipLib/issues/232"},{"type":"WEB","url":"https://github.com/icsharpcode/SharpZipLib/wiki/Release-1.0"},{"type":"WEB","url":"https://github.com/snyk/zip-slip-vulnerability"},{"type":"WEB","url":"https://snyk.io/research/zip-slip-vulnerability"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-DOTNET-SHARPZIPLIB-60247"}],"affected":[{"package":{"name":"SharpZipLib","ecosystem":"NuGet","purl":"pkg:nuget/SharpZipLib"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.0-rc1"}]}],"versions":["0.86.0","1.0.0-alpha1","1.0.0-alpha2"],"database_specific":{"last_known_affected_version_range":"\u003c= 1.0.0-alpha2","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-cqj4-m2pc-v9m5/GHSA-cqj4-m2pc-v9m5.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N"}]}