Path Traversal in Icsharpcode Sharpziplib

CVE-2021-32840

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.

Vulnerability class: Path Traversal (Directory Traversal)

EPSS: 0.020 (78.4th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.3 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2021-32840?
CVE-2021-32840 is a high-severity vulnerability in Icsharpcode Sharpziplib, classified under Path Traversal. CVSS score: 7.3/10. Published 2022-01-26.
How severe is CVE-2021-32840?
High severity. CVSS v3 base score is 7.3 out of 10.
Is CVE-2021-32840 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.