Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Relax version bounds for NPOI's dependency on SharpZipLib #597

Closed
malhotrar opened this issue Jul 14, 2021 · 2 comments
Closed

Relax version bounds for NPOI's dependency on SharpZipLib #597

malhotrar opened this issue Jul 14, 2021 · 2 comments
Labels
Milestone

Comments

@malhotrar
Copy link

Version 2.5.2 allowed SharpZipLib > 1.2.0; however 2.5.3, requires 1.2.0 and has a valuable fix in #473 that fixes functionality for .NET Core.

My security team uses JFrog's XRay to scan packages - and JFrog has flagged SharpZipLib < 1.3.0 for a high vulnerability:

Summary SharpZipLib Tar/TarArchive.cs TarArchive::ExtractEntry() Function Tar Archive Handling Path Traversal Arbitrary File Write
Type Security
Provider JFrog
Severity High
Update Jun 16, 2021 11:58:41 AM
References
icsharpcode/SharpZipLib@0cbdef2
icsharpcode/SharpZipLib#519
https://github.com/icsharpcode/SharpZipLib/releases/tag/v1.3.0
Infected Component SharpZipLib

Could the nuspec dependencies be relaxed such that I can continue using SharpZipLib > 1.3.0 along with the latest version of NPOI?

@tonyqus
Copy link
Member

tonyqus commented Jul 16, 2021

As I received a few reports that SharpZipLib 1.2.x is not secure anymore, I will change the future release to SharpZipLib >=1.3.1

@tonyqus
Copy link
Member

tonyqus commented Aug 2, 2021

NPOI 2.5.4 is released to solve this issue. Please upgrade your nuget reference.

@tonyqus tonyqus closed this as completed Aug 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants