{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-32840","published":"2022-01-26T21:15:13.097000Z","last_modified":"2026-06-17T03:53:44.253000Z","status":"Modified","cvss":{"version":"3.1","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","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_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.01969,"percentile":0.81084,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-m22m-h4rf-pwq3","ecosystem":"NuGet","name":"SharpZipLib","purl":"pkg:nuget/SharpZipLib","ranges":[{"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"],"versions_truncated":false}],"severity":"critical","priority_score":74,"links":{"html_es":"/es/cve/CVE-2021-32840/","html_en":"/en/cve/CVE-2021-32840/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-32840","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-32840"},"untrusted":{"vendor_name":"Sharpziplib Project","product_name":"Sharpziplib","desc_en":"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.","affected":[{"untrusted_vendor":"icsharpcode","untrusted_product":"sharpziplib","versions":[]}],"references":[{"url":"https://github.com/icsharpcode/SharpZipLib/commit/a0e96de70b5264f4c919b09253b1522bc7a221cc","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/icsharpcode/SharpZipLib/releases/tag/v1.3.3","tags":["Third Party Advisory"]},{"url":"https://securitylab.github.com/advisories/GHSL-2021-125-sharpziplib/","tags":["Exploit","Third Party Advisory"]}]}}