{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/12462?format=json","vulnerability_id":"VCID-fxh1-kq9x-6bbz","summary":"Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')\nSharpZipLib (or #ziplib) is a Zip, GZip, Tar and BZip2 library. 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.","aliases":[{"alias":"CVE-2021-32840"},{"alias":"GHSA-m22m-h4rf-pwq3"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/931058?format=json","purl":"pkg:deb/debian/mono@0?distro=trixie","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:deb/debian/mono@0%3Fdistro=trixie"},{"url":"http://public2.vulnerablecode.io/api/packages/931052?format=json","purl":"pkg:deb/debian/mono@6.8.0.105%2Bdfsg-3.3~deb11u1?distro=trixie","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:deb/debian/mono@6.8.0.105%252Bdfsg-3.3~deb11u1%3Fdistro=trixie"},{"url":"http://public2.vulnerablecode.io/api/packages/931050?format=json","purl":"pkg:deb/debian/mono@6.8.0.105%2Bdfsg-3.3%2Bdeb12u1?distro=trixie","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:deb/debian/mono@6.8.0.105%252Bdfsg-3.3%252Bdeb12u1%3Fdistro=trixie"},{"url":"http://public2.vulnerablecode.io/api/packages/931054?format=json","purl":"pkg:deb/debian/mono@6.12.0.199%2Bdfsg-6?distro=trixie","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:deb/debian/mono@6.12.0.199%252Bdfsg-6%3Fdistro=trixie"},{"url":"http://public2.vulnerablecode.io/api/packages/931053?format=json","purl":"pkg:deb/debian/mono@6.14.1%2Bds2-2?distro=trixie","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:deb/debian/mono@6.14.1%252Bds2-2%3Fdistro=trixie"},{"url":"http://public2.vulnerablecode.io/api/packages/1104238?format=json","purl":"pkg:deb/debian/mono@6.14.1%2Bds2-3?distro=trixie","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:deb/debian/mono@6.14.1%252Bds2-3%3Fdistro=trixie"},{"url":"http://public2.vulnerablecode.io/api/packages/44462?format=json","purl":"pkg:nuget/SharpZipLib@1.3.3","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:nuget/SharpZipLib@1.3.3"}],"affected_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/279410?format=json","purl":"pkg:nuget/SharpZipLib@0.86.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-fxh1-kq9x-6bbz"},{"vulnerability":"VCID-xzc1-cy42-2ub4"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:nuget/SharpZipLib@0.86.0"},{"url":"http://public2.vulnerablecode.io/api/packages/279411?format=json","purl":"pkg:nuget/SharpZipLib@1.0.0-alpha1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-fxh1-kq9x-6bbz"},{"vulnerability":"VCID-xzc1-cy42-2ub4"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:nuget/SharpZipLib@1.0.0-alpha1"},{"url":"http://public2.vulnerablecode.io/api/packages/53964?format=json","purl":"pkg:nuget/SharpZipLib@1.0.0-alpha2","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-fxh1-kq9x-6bbz"},{"vulnerability":"VCID-xzc1-cy42-2ub4"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:nuget/SharpZipLib@1.0.0-alpha2"},{"url":"http://public2.vulnerablecode.io/api/packages/53965?format=json","purl":"pkg:nuget/SharpZipLib@1.0.0-rc1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-fxh1-kq9x-6bbz"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:nuget/SharpZipLib@1.0.0-rc1"},{"url":"http://public2.vulnerablecode.io/api/packages/279412?format=json","purl":"pkg:nuget/SharpZipLib@1.0.0-rc2","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-fxh1-kq9x-6bbz"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:nuget/SharpZipLib@1.0.0-rc2"},{"url":"http://public2.vulnerablecode.io/api/packages/44653?format=json","purl":"pkg:nuget/SharpZipLib@1.0.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-1qhk-r5sq-zqhm"},{"vulnerability":"VCID-fxh1-kq9x-6bbz"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:nuget/SharpZipLib@1.0.0"},{"url":"http://public2.vulnerablecode.io/api/packages/279413?format=json","purl":"pkg:nuget/SharpZipLib@1.1.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-1qhk-r5sq-zqhm"},{"vulnerability":"VCID-fxh1-kq9x-6bbz"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:nuget/SharpZipLib@1.1.0"},{"url":"http://public2.vulnerablecode.io/api/packages/279414?format=json","purl":"pkg:nuget/SharpZipLib@1.2.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-1qhk-r5sq-zqhm"},{"vulnerability":"VCID-fxh1-kq9x-6bbz"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:nuget/SharpZipLib@1.2.0"},{"url":"http://public2.vulnerablecode.io/api/packages/44459?format=json","purl":"pkg:nuget/SharpZipLib@1.3.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-1qhk-r5sq-zqhm"},{"vulnerability":"VCID-eadx-224r-vyhs"},{"vulnerability":"VCID-fxh1-kq9x-6bbz"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:nuget/SharpZipLib@1.3.0"},{"url":"http://public2.vulnerablecode.io/api/packages/279256?format=json","purl":"pkg:nuget/SharpZipLib@1.3.1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-1qhk-r5sq-zqhm"},{"vulnerability":"VCID-eadx-224r-vyhs"},{"vulnerability":"VCID-fxh1-kq9x-6bbz"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:nuget/SharpZipLib@1.3.1"},{"url":"http://public2.vulnerablecode.io/api/packages/279257?format=json","purl":"pkg:nuget/SharpZipLib@1.3.2","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-1qhk-r5sq-zqhm"},{"vulnerability":"VCID-eadx-224r-vyhs"},{"vulnerability":"VCID-fxh1-kq9x-6bbz"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:nuget/SharpZipLib@1.3.2"}],"references":[{"reference_url":"https://api.first.org/data/v1/epss?cve=CVE-2021-32840","reference_id":"","reference_type":"","scores":[{"value":"0.01545","scoring_system":"epss","scoring_elements":"0.81583","published_at":"2026-05-16T12:55:00Z"},{"value":"0.01545","scoring_system":"epss","scoring_elements":"0.81412","published_at":"2026-04-11T12:55:00Z"},{"value":"0.01545","scoring_system":"epss","scoring_elements":"0.814","published_at":"2026-04-12T12:55:00Z"},{"value":"0.01545","scoring_system":"epss","scoring_elements":"0.81392","published_at":"2026-04-13T12:55:00Z"},{"value":"0.01545","scoring_system":"epss","scoring_elements":"0.81429","published_at":"2026-04-16T12:55:00Z"},{"value":"0.01545","scoring_system":"epss","scoring_elements":"0.8143","published_at":"2026-04-21T12:55:00Z"},{"value":"0.01545","scoring_system":"epss","scoring_elements":"0.81452","published_at":"2026-04-24T12:55:00Z"},{"value":"0.01545","scoring_system":"epss","scoring_elements":"0.8146","published_at":"2026-04-26T12:55:00Z"},{"value":"0.01545","scoring_system":"epss","scoring_elements":"0.81464","published_at":"2026-04-29T12:55:00Z"},{"value":"0.01545","scoring_system":"epss","scoring_elements":"0.81482","published_at":"2026-05-05T12:55:00Z"},{"value":"0.01545","scoring_system":"epss","scoring_elements":"0.81501","published_at":"2026-05-07T12:55:00Z"},{"value":"0.01545","scoring_system":"epss","scoring_elements":"0.81523","published_at":"2026-05-09T12:55:00Z"},{"value":"0.01545","scoring_system":"epss","scoring_elements":"0.81519","published_at":"2026-05-11T12:55:00Z"},{"value":"0.01545","scoring_system":"epss","scoring_elements":"0.81537","published_at":"2026-05-12T12:55:00Z"},{"value":"0.01545","scoring_system":"epss","scoring_elements":"0.81576","published_at":"2026-05-14T12:55:00Z"},{"value":"0.01545","scoring_system":"epss","scoring_elements":"0.8158","published_at":"2026-05-15T12:55:00Z"},{"value":"0.01545","scoring_system":"epss","scoring_elements":"0.81327","published_at":"2026-04-01T12:55:00Z"},{"value":"0.01545","scoring_system":"epss","scoring_elements":"0.81336","published_at":"2026-04-02T12:55:00Z"},{"value":"0.01545","scoring_system":"epss","scoring_elements":"0.81358","published_at":"2026-04-04T12:55:00Z"},{"value":"0.01545","scoring_system":"epss","scoring_elements":"0.81357","published_at":"2026-04-07T12:55:00Z"},{"value":"0.01545","scoring_system":"epss","scoring_elements":"0.81386","published_at":"2026-04-08T12:55:00Z"},{"value":"0.01545","scoring_system":"epss","scoring_elements":"0.81391","published_at":"2026-04-09T12:55:00Z"}],"url":"https://api.first.org/data/v1/epss?cve=CVE-2021-32840"},{"reference_url":"https://github.com/icsharpcode/SharpZipLib","reference_id":"","reference_type":"","scores":[{"value":"7.3","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/icsharpcode/SharpZipLib"},{"reference_url":"https://github.com/icsharpcode/SharpZipLib/commit/a0e96de70b5264f4c919b09253b1522bc7a221cc","reference_id":"","reference_type":"","scores":[{"value":"7.3","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""},{"value":"Track","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2025-04-22T15:51:52Z/"}],"url":"https://github.com/icsharpcode/SharpZipLib/commit/a0e96de70b5264f4c919b09253b1522bc7a221cc"},{"reference_url":"https://github.com/icsharpcode/SharpZipLib/releases/tag/v1.3.3","reference_id":"","reference_type":"","scores":[{"value":"7.3","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""},{"value":"Track","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2025-04-22T15:51:52Z/"}],"url":"https://github.com/icsharpcode/SharpZipLib/releases/tag/v1.3.3"},{"reference_url":"https://securitylab.github.com/advisories/GHSL-2021-125-sharpziplib","reference_id":"","reference_type":"","scores":[{"value":"7.3","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://securitylab.github.com/advisories/GHSL-2021-125-sharpziplib"},{"reference_url":"https://securitylab.github.com/advisories/GHSL-2021-125-sharpziplib/","reference_id":"","reference_type":"","scores":[{"value":"7.3","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L"},{"value":"Track","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2025-04-22T15:51:52Z/"}],"url":"https://securitylab.github.com/advisories/GHSL-2021-125-sharpziplib/"},{"reference_url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32840","reference_id":"CVE-2021-32840","reference_type":"","scores":[{"value":"7.3","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32840"},{"reference_url":"https://github.com/advisories/GHSA-m22m-h4rf-pwq3","reference_id":"GHSA-m22m-h4rf-pwq3","reference_type":"","scores":[{"value":"HIGH","scoring_system":"cvssv3.1_qr","scoring_elements":""}],"url":"https://github.com/advisories/GHSA-m22m-h4rf-pwq3"}],"weaknesses":[{"cwe_id":1035,"name":"OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities","description":"Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017."},{"cwe_id":78,"name":"Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","description":"The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component."},{"cwe_id":937,"name":"OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities","description":"Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013."},{"cwe_id":22,"name":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","description":"The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory."}],"exploits":[],"severity_range_score":"7.0 - 8.9","exploitability":"0.5","weighted_severity":"8.0","risk_score":4.0,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-fxh1-kq9x-6bbz"}