{"id":"GHSA-m22m-h4rf-pwq3","summary":"Path Traversal in SharpZipLib","details":"SharpZipLib (or #ziplib) is a Zip, GZip, Tar and BZip2 library. Prior to version 1.3.3, a TAR file entry `../evil.txt` may be extracted in the parent directory of `destFolder`. This leads to arbitrary file write that may lead to code execution. The vulnerability was patched in version 1.3.3.","aliases":["CVE-2021-32840"],"modified":"2024-02-19T05:31:31.968216Z","published":"2022-02-01T16:22:50Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2022-02-01T16:20:32Z","nvd_published_at":"2022-01-26T21:15:00Z","cwe_ids":["CWE-22"],"severity":"HIGH"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32840"},{"type":"WEB","url":"https://github.com/icsharpcode/SharpZipLib/commit/a0e96de70b5264f4c919b09253b1522bc7a221cc"},{"type":"PACKAGE","url":"https://github.com/icsharpcode/SharpZipLib"},{"type":"WEB","url":"https://github.com/icsharpcode/SharpZipLib/releases/tag/v1.3.3"},{"type":"ADVISORY","url":"https://securitylab.github.com/advisories/GHSL-2021-125-sharpziplib"}],"affected":[{"package":{"name":"SharpZipLib","ecosystem":"NuGet","purl":"pkg:nuget/SharpZipLib"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.3"}]}],"versions":["0.86.0","1.0.0","1.0.0-alpha1","1.0.0-alpha2","1.0.0-rc1","1.0.0-rc2","1.1.0","1.2.0","1.3.0","1.3.1","1.3.2"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/02/GHSA-m22m-h4rf-pwq3/GHSA-m22m-h4rf-pwq3.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L"}]}