Path Traversal in Icsharpcode Sharpziplib
CVE-2021-32840
- CVSS v3
- 7.3 High
- Public exploits
- None known
- EPSS
- 0.020 · 80.9th percentile
- Published
- 2022-01-26
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.
- Attack Vector
- Local
AV:L - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- Low
C:L - Integrity
- High
I:H - Availability
- Low
A:L
EPSS exploit prediction
EPSS 0.020, 80.9th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Icsharpcode Sharpziplib — versions 1.3.3, 0.86.0
- Sharpziplib Project
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (ARPSyndicate/cvemon). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
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)