Is SharpZipLib 1.2 vulnerable?

NuGet · 1 release from 1.2.0 to 1.2.0 · latest SharpZipLib is 1.4.2 · checked 18 Nov 2026

Yes: 2 known advisories

Yes. SharpZipLib 1.2.0, the last 1.2 release, is affected by 2 known security advisories (1 high, 1 medium), including CVE-2021-32840, CVE-2021-32842. Upgrade to 1.3.3 or later to fix all of them.

Upgrade with:dotnet add package SharpZipLib --version 1.3.3

Is your project on an affected SharpZipLib?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several .NET apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Advisories affecting SharpZipLib 1.2.0

  • MediumCVE-2021-32842GHSA-mm6g-mmq6-53ff1 Feb 2022

    Path Traversal in SharpZipLib

    Affected
    >=1.0.0 <1.3.3
    Fixed in
    1.3.3
  • HighCVE-2021-32840GHSA-m22m-h4rf-pwq31 Feb 2022

    Path Traversal in SharpZipLib

    Affected
    <1.3.3
    Fixed in
    1.3.3

Which of your client projects are still on SharpZipLib 1.2?

NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact SharpZipLib version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.

Other SharpZipLib versions

Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the NuGet registry. Refreshed daily.