CVE-2021-32840 HIGH

CVE-2021-32840: Path Traversal in SharpZipLib

Vendor Icsharpcode
Product sharpziplib
Weakness CWE-22 · Path traversal
Published January 26, 2022
Last update April 22, 2025

CVSS base score

7.3/10
Attack vector Local
Attack complexity Low
Privileges required None
User interaction None
Confidentiality Low
Integrity High

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

January 26, 2022 CVE published
April 22, 2025 Record updated