{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-32841","published":"2022-01-26T22:15:07.837000Z","last_modified":"2026-06-17T03:53:44.380000Z","status":"Modified","cvss":{"version":"3.1","score":5.3,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-22"],"cpes":[{"criteria":"cpe:2.3:a:sharpziplib_project:sharpziplib:*:*:*:*:*:*:*:*","part":"a","vendor":"sharpziplib_project","product":"sharpziplib","version_start_including":"1.3.0","version_end_excluding":"1.3.3"}],"cpes_truncated":false,"vendors":["sharpziplib_project"],"products":["sharpziplib_project/sharpziplib"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"partial"},"epss":{"score":0.01115,"percentile":0.65723,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-2x7h-96h5-rq84","ecosystem":"NuGet","name":"SharpZipLib","purl":"pkg:nuget/SharpZipLib","ranges":[{"introduced":"1.3.0","fixed":"1.3.3"}],"versions":["1.3.0","1.3.1","1.3.2"],"versions_truncated":false}],"severity":"medium","priority_score":47,"links":{"html_es":"/es/cve/CVE-2021-32841/","html_en":"/en/cve/CVE-2021-32841/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-32841","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-32841"},"untrusted":{"vendor_name":"Sharpziplib Project","product_name":"Sharpziplib","desc_en":"SharpZipLib (or #ziplib) is a Zip, GZip, Tar and BZip2 library. Starting version 1.3.0 and prior to version 1.3.3, a check was added if the destination file is under destination directory. However, it is not enforced that `destDir` ends with slash. If the `destDir` is not slash terminated like `/home/user/dir` it is possible to create a file with a name thats begins with the destination directory, i.e. `/home/user/dir.sh`. Because of the file name and destination directory constraints, the arbitrary file creation impact is limited and depends on the use case. Version 1.3.3 contains a patch for this vulnerability.","affected":[{"untrusted_vendor":"icsharpcode","untrusted_product":"sharpziplib","versions":[]}],"references":[{"url":"https://github.com/icsharpcode/SharpZipLib/commit/5c3b293de5d65b108e7f2cd0ea8f81c1b8273f78","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/icsharpcode/SharpZipLib/releases/tag/v1.3.3","tags":["Release Notes","Third Party Advisory"]},{"url":"https://securitylab.github.com/advisories/GHSL-2021-125-sharpziplib/","tags":["Exploit","Third Party Advisory"]}]}}