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)
Published · last modified .
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.
EPSS exploit prediction
EPSS: 0.019 (79.0th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 79th percentile — 79.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.020 · newest: 0.019 · change: -0.001
Affected products
- Icsharpcode Sharpziplib — versions 1.3.3, 0.86.0
- Sharpziplib Project
Weakness classification (CWE)
Public proof-of-concept exploits
References
- securitylab.github.com/advisories/GHSL-2021-125-sharpziplib/ (Exploit, Third Party Advisory)
- github.com/icsharpcode/SharpZipLib/releases/tag/v1.3.3 (Third Party Advisory)
- github.com/icsharpcode/SharpZipLib/commit/a0e96de70b5264f4c919b09253b1522bc7a22… (Patch, Third Party Advisory)
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.