Search for vulnerabilities
Vulnerability details: VCID-q38c-k935-uuan
Vulnerability ID VCID-q38c-k935-uuan
Aliases CVE-2021-32840
GHSA-m22m-h4rf-pwq3
Summary Path Traversal in SharpZipLib 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.
Status Published
Exploitability 0.5
Weighted Severity 8.8
Risk 4.4
Affected and Fixed Packages Package Details
Weaknesses (4)
System Score Found at
epss 0.00739 https://api.first.org/data/v1/epss?cve=CVE-2021-32840
epss 0.00739 https://api.first.org/data/v1/epss?cve=CVE-2021-32840
epss 0.00739 https://api.first.org/data/v1/epss?cve=CVE-2021-32840
epss 0.01652 https://api.first.org/data/v1/epss?cve=CVE-2021-32840
epss 0.01652 https://api.first.org/data/v1/epss?cve=CVE-2021-32840
epss 0.01652 https://api.first.org/data/v1/epss?cve=CVE-2021-32840
epss 0.01652 https://api.first.org/data/v1/epss?cve=CVE-2021-32840
epss 0.01652 https://api.first.org/data/v1/epss?cve=CVE-2021-32840
epss 0.01751 https://api.first.org/data/v1/epss?cve=CVE-2021-32840
epss 0.01751 https://api.first.org/data/v1/epss?cve=CVE-2021-32840
epss 0.01751 https://api.first.org/data/v1/epss?cve=CVE-2021-32840
epss 0.01751 https://api.first.org/data/v1/epss?cve=CVE-2021-32840
epss 0.01751 https://api.first.org/data/v1/epss?cve=CVE-2021-32840
epss 0.01751 https://api.first.org/data/v1/epss?cve=CVE-2021-32840
epss 0.01751 https://api.first.org/data/v1/epss?cve=CVE-2021-32840
epss 0.01751 https://api.first.org/data/v1/epss?cve=CVE-2021-32840
cvssv3.1_qr HIGH https://github.com/advisories/GHSA-m22m-h4rf-pwq3
cvssv3.1 7.3 https://github.com/icsharpcode/SharpZipLib
generic_textual HIGH https://github.com/icsharpcode/SharpZipLib
cvssv3.1 7.3 https://github.com/icsharpcode/SharpZipLib/commit/a0e96de70b5264f4c919b09253b1522bc7a221cc
generic_textual HIGH https://github.com/icsharpcode/SharpZipLib/commit/a0e96de70b5264f4c919b09253b1522bc7a221cc
ssvc Track https://github.com/icsharpcode/SharpZipLib/commit/a0e96de70b5264f4c919b09253b1522bc7a221cc
cvssv3.1 7.3 https://github.com/icsharpcode/SharpZipLib/releases/tag/v1.3.3
generic_textual HIGH https://github.com/icsharpcode/SharpZipLib/releases/tag/v1.3.3
ssvc Track https://github.com/icsharpcode/SharpZipLib/releases/tag/v1.3.3
cvssv2 7.5 https://nvd.nist.gov/vuln/detail/CVE-2021-32840
cvssv3.1 7.3 https://nvd.nist.gov/vuln/detail/CVE-2021-32840
cvssv3.1 9.8 https://nvd.nist.gov/vuln/detail/CVE-2021-32840
generic_textual HIGH https://nvd.nist.gov/vuln/detail/CVE-2021-32840
cvssv3.1 7.3 https://securitylab.github.com/advisories/GHSL-2021-125-sharpziplib
generic_textual HIGH https://securitylab.github.com/advisories/GHSL-2021-125-sharpziplib
cvssv3.1 7.3 https://securitylab.github.com/advisories/GHSL-2021-125-sharpziplib/
ssvc Track https://securitylab.github.com/advisories/GHSL-2021-125-sharpziplib/
No exploits are available.
Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L Found at https://github.com/icsharpcode/SharpZipLib
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L Found at https://github.com/icsharpcode/SharpZipLib/commit/a0e96de70b5264f4c919b09253b1522bc7a221cc
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none


Vector: SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2025-04-22T15:51:52Z/ Found at https://github.com/icsharpcode/SharpZipLib/commit/a0e96de70b5264f4c919b09253b1522bc7a221cc
Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L Found at https://github.com/icsharpcode/SharpZipLib/releases/tag/v1.3.3
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none


Vector: SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2025-04-22T15:51:52Z/ Found at https://github.com/icsharpcode/SharpZipLib/releases/tag/v1.3.3
Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P Found at https://nvd.nist.gov/vuln/detail/CVE-2021-32840
Exploitability (E) Access Vector (AV) Access Complexity (AC) Authentication (Au) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

high

functional

unproven

proof_of_concept

not_defined

local

adjacent_network

network

high

medium

low

multiple

single

none

none

partial

complete

none

partial

complete

none

partial

complete

Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L Found at https://nvd.nist.gov/vuln/detail/CVE-2021-32840
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Found at https://nvd.nist.gov/vuln/detail/CVE-2021-32840
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L Found at https://securitylab.github.com/advisories/GHSL-2021-125-sharpziplib
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L Found at https://securitylab.github.com/advisories/GHSL-2021-125-sharpziplib/
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none


Vector: SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2025-04-22T15:51:52Z/ Found at https://securitylab.github.com/advisories/GHSL-2021-125-sharpziplib/
Exploit Prediction Scoring System (EPSS)
Percentile 0.72058
EPSS Score 0.00739
Published At Aug. 1, 2025, 12:55 p.m.
Date Actor Action Source VulnerableCode Version
2025-07-31T09:02:14.913113+00:00 GithubOSV Importer Import https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/02/GHSA-m22m-h4rf-pwq3/GHSA-m22m-h4rf-pwq3.json 37.0.0