SharpCompress vulnerabilities
SharpCompress is a compression library for NET 4.8/NET Standard 2.0/NET Standard 2.1/NET 5.0/NET 6.0/NET 7.0/NET 8.0/NET 9.0/NET 10.0 that can unrar, decompress 7zip, decompress xz, zip/unzip, tar/untar lzip/unlzip, bzip2/unbzip2 and gzip/ungzip with forward-only reading and file random access APIs. Write support for zip/tar/bzip2/gzip/7zip is implemented.
- Registry
- NuGet
- Latest
- 0.50.10
- License
- MIT
3 known advisories
The latest version, 0.50.10, is not affected by any of them. Projects on older versions may be.
dotnet add package SharpCompress --version 0.50.10Is your project on an affected SharpCompress?
Look after several .NET apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Security advisories for SharpCompress
SharpCompress has directory traversal via directory entries in WriteToDirectory (zip slip variant)
- Affected
- <0.48.0
- Fixed in
- 0.48.0
Partial path traversal in sharpcompress
- Affected
- <0.29
- Fixed in
- 0.29
Directory Traversal in SharpCompress
- Affected
- <0.21.0
- Fixed in
- 0.21.0
Is your SharpCompress version vulnerable?
Which of your client projects still run an old SharpCompress?
NPMscan reads the packages.lock.json and .csproj files in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.
Other NuGet packages
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the NuGet registry.