PT-2022-10094 · Unknown · Sharpziplib
Jarlob
+1
·
Published
2022-01-26
·
Updated
2022-02-07
·
CVE-2021-32840
CVSS v2.0
7.5
High
| Vector | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Name of the Vulnerable Software and Affected Versions
SharpZipLib versions prior to 1.3.3
Description
The issue affects SharpZipLib, a library for handling Zip, GZip, Tar, and BZip2 files. In versions prior to 1.3.3, a TAR file entry such as
../evil.txt may be extracted to the parent directory of the destination folder, potentially leading to arbitrary file write and code execution.Recommendations
For versions prior to 1.3.3, update to version 1.3.3 to resolve the issue. As a temporary workaround, consider restricting the extraction of TAR files to prevent writing to parent directories until the update is applied.
Exploit
Fix
Path traversal
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Sharpziplib