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

Bump go-jose to address dependabot issues #294

Open
madalazar opened this issue Nov 12, 2024 · 0 comments
Open

Bump go-jose to address dependabot issues #294

madalazar opened this issue Nov 12, 2024 · 0 comments

Comments

@madalazar
Copy link

Hi,

I created #293 to address vulnerabilities found in gopkg.in/square/go-jose.v2. This is detailed in Dependabot issues similar to:

Impact
An attacker could send a JWE containing compressed data that used large amounts of memory and CPU when decompressed by Decrypt or DecryptMulti. Those functions now return an error if the decompressed data would exceed 250kB or 10x the compressed size (whichever is larger). Thanks to Enze Wang@Alioth and Jianjun Chen@Zhongguancun Lab (@zer0yu and @chenjj) for reporting.

Patches
The problem is fixed in the following packages and versions:

github.com/go-jose/go-jose/v4 version 4.0.1
github.com/go-jose/go-jose/v3 version 3.0.3
gopkg.in/go-jose/go-jose.v2 version 2.6.3
The problem will not be fixed in the following package because the package is archived:

gopkg.in/square/go-jose.v2

Could anyone take a look at the PR above?

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant