Vulnerabilities (CVE)

Filtered by vendor Sharpziplib Project Subscribe
Filtered by product Sharpziplib
Total 4 CVE
CVE Vendors Products Updated CVSS v2 CVSS v3
CVE-2021-32842 1 Sharpziplib Project 1 Sharpziplib 2024-02-28 5.0 MEDIUM 5.3 MEDIUM
SharpZipLib (or #ziplib) is a Zip, GZip, Tar and BZip2 library. Starting version 1.0.0 and prior to version 1.3.3, a check was added if the destination file is under a destination directory. However, it is not enforced that `_baseDirectory` ends with slash. If the _baseDirectory is not slash terminated like `/home/user/dir` it is possible to create a file with a name thats begins as the destination directory one level up from the directory, i.e. `/home/user/dir.sh`. Because of the file name and destination directory constraints, the arbitrary file creation impact is limited and depends on the use case. Version 1.3.3 fixed this vulnerability.
CVE-2021-32840 1 Sharpziplib Project 1 Sharpziplib 2024-02-28 7.5 HIGH 9.8 CRITICAL
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.
CVE-2021-32841 1 Sharpziplib Project 1 Sharpziplib 2024-02-28 5.0 MEDIUM 5.3 MEDIUM
SharpZipLib (or #ziplib) is a Zip, GZip, Tar and BZip2 library. Starting version 1.3.0 and prior to version 1.3.3, a check was added if the destination file is under destination directory. However, it is not enforced that `destDir` ends with slash. If the `destDir` is not slash terminated like `/home/user/dir` it is possible to create a file with a name thats begins with the destination directory, i.e. `/home/user/dir.sh`. Because of the file name and destination directory constraints, the arbitrary file creation impact is limited and depends on the use case. Version 1.3.3 contains a patch for this vulnerability.
CVE-2018-1002208 1 Sharpziplib Project 1 Sharpziplib 2024-02-28 4.3 MEDIUM 5.5 MEDIUM
SharpZipLib before 1.0 RC1 is vulnerable to directory traversal, allowing attackers to write to arbitrary files via a ../ (dot dot slash) in a Zip archive entry that is mishandled during extraction. This vulnerability is also known as 'Zip-Slip'.