VOOZH about

URL: https://nvd.nist.gov/vuln/detail/CVE-2021-32840

⇱ NVD - CVE-2021-32840


  1. Vulnerabilities

CVE-2021-32840 Detail

Modified After Enrichment

This CVE record has been updated after NVD enrichment efforts were completed. Enrichment data supplied by the NVD may require amendment due to these changes.

Description

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.


Metrics

 
NVD enrichment efforts reference publicly available information to associate vector strings. CVSS information contributed by other sources is also displayed.
CVSS 4.0 Severity and Vector Strings:

NVD assessment not yet provided.

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to [email protected].

URL Source(s) Tag(s)
https://github.com/icsharpcode/SharpZipLib/commit/a0e96de70b5264f4c919b09253b1522bc7a221cc CVE, GitHub, Inc. Patch  Third Party Advisory 
https://github.com/icsharpcode/SharpZipLib/releases/tag/v1.3.3 CVE, GitHub, Inc. Third Party Advisory 
https://securitylab.github.com/advisories/GHSL-2021-125-sharpziplib/ CVE, GitHub, Inc. Exploit  Third Party Advisory 

Weakness Enumeration

CWE-ID CWE Name Source
CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') πŸ‘ cwe source acceptance level
NIST  
GitHub, Inc.  

Known Affected Software Configurations Switch to CPE 2.2

CPEs loading, please wait.

Denotes Vulnerable Software
Are we missing a CPE here? Please let us know.

Change History

5 change records found show changes

CVE Modified by CISA-ADP 6/16/2026 11:53:44 PM

Action Type Old Value New Value
Added SSVC
{"timestamp":"2025-04-22T15:51:52.407516Z","id":"CVE-2021-32840","options":[{"exploitation":"poc"},{"automatable":"no"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}


CVE Modified by GitHub, Inc. 6/16/2026 11:53:44 PM

Action Type Old Value New Value
Added Affected
[{"vendor":"icsharpcode","product":"sharpziplib","versions":[{"version":"1.3.3","lessThan":"1.3.3","versionType":"custom","status":"affected"},{"version":"0.86.0","lessThan":"0.86.0*","versionType":"custom","status":"affected"}]}]


CVE Modified by CVE 11/21/2024 1:07:51 AM

Action Type Old Value New Value
Added Reference
https://github.com/icsharpcode/SharpZipLib/commit/a0e96de70b5264f4c919b09253b1522bc7a221cc


Added Reference
https://github.com/icsharpcode/SharpZipLib/releases/tag/v1.3.3


Added Reference
https://securitylab.github.com/advisories/GHSL-2021-125-sharpziplib/


CVE Modified by GitHub, Inc. 5/14/2024 5:06:58 AM

Action Type Old Value New Value

Initial Analysis by NIST 2/07/2022 2:10:05 PM

Action Type Old Value New Value
Added CVSS V3.1
NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H


Added CVSS V2
NIST (AV:N/AC:L/Au:N/C:P/I:P/A:P)


Added CWE
NIST CWE-22


Added CPE Configuration
OR
 *cpe:2.3:a:sharpziplib_project:sharpziplib:*:*:*:*:*:*:*:* versions up to (excluding) 1.3.3


Changed Reference Type
https://github.com/icsharpcode/SharpZipLib/commit/a0e96de70b5264f4c919b09253b1522bc7a221cc No Types Assigned


https://github.com/icsharpcode/SharpZipLib/commit/a0e96de70b5264f4c919b09253b1522bc7a221cc Patch, Third Party Advisory


Changed Reference Type
https://github.com/icsharpcode/SharpZipLib/releases/tag/v1.3.3 No Types Assigned


https://github.com/icsharpcode/SharpZipLib/releases/tag/v1.3.3 Third Party Advisory


Changed Reference Type
https://securitylab.github.com/advisories/GHSL-2021-125-sharpziplib/ No Types Assigned


https://securitylab.github.com/advisories/GHSL-2021-125-sharpziplib/ Exploit, Third Party Advisory


Quick Info

CVE Dictionary Entry:
CVE-2021-32840
NVD Published Date:
01/26/2022
NVD Last Modified:
06/16/2026
Source:
GitHub, Inc.