CVE-2021-32840
High
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.
SeverityHigh
CVSS7.3
Exploit probability—
ProductSharpziplib
PublishedJan 26, 2022
First seenJan 26, 2022
Weakness typeCWE-22Path traversal
How to fix
Update
- sharpziplib_project sharpziplib1.3.3 or later
- SharpZipLib1.3.3 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| sharpziplib_project sharpziplib | v < 1.3.3 | 1.3.3 |
| SharpZipLibNuGet | v < 1.3.3 | 1.3.3 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.