What’s Vulnerable › Vulnerabilities

CVE-2021-32840: Path Traversal in SharpZipLib

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.

Affected products

How to fix

Upgrade to a fixed version: icsharpcode sharpziplib 1.3.3. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2021-32840 or the next vulnerability affects your stack