Skip to content

← Public intelligence

NuGet package

sharpziplib

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

4 actionable advisories, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. Medium, CVSS 5.5NuGetPublished

    Improper Limitation of a Pathname to a Restricted Directory in SharpZipLib

    CVE-2018-1002208 · GHSA-cqj4-m2pc-v9m5

    Affected
    • NuGet sharpziplib <= 1.0.0-alpha2
    Fixed in
    1.0.0-rc1· Vendor fix available
    Issue
    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'.

    Recommended action: Upgrade to 1.0.0-rc1 (pre-release) or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  2. Medium, CVSS 4.0NuGetPublished

    Path Traversal in SharpZipLib

    CVE-2021-32842 · GHSA-mm6g-mmq6-53ff

    Affected
    • NuGet sharpziplib >= 1.0.0, < 1.3.3
    Fixed in
    1.3.3· Vendor fix available
    Issue
    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.

    Recommended action: Upgrade to 1.3.3 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  3. Medium, CVSS 4.0NuGetPublished

    Path Traversal in SharpZipLib

    CVE-2021-32841 · GHSA-2x7h-96h5-rq84

    Affected
    • NuGet sharpziplib >= 1.3.0, < 1.3.3
    Fixed in
    1.3.3· Vendor fix available
    Issue
    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.

    Recommended action: Upgrade to 1.3.3 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  4. High, CVSS 7.3NuGetPublished

    Path Traversal in SharpZipLib

    CVE-2021-32840 · GHSA-m22m-h4rf-pwq3

    Affected
    • NuGet sharpziplib < 1.3.3
    Fixed in
    1.3.3· Vendor fix available
    Issue
    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.

    Recommended action: Upgrade to 1.3.3 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →