fix(security): bump jose2go to v1.7.0 (GO-2025-4123, GO-2023-2409)#2619
Merged
dgageot merged 1 commit intodocker:mainfrom May 4, 2026
Merged
fix(security): bump jose2go to v1.7.0 (GO-2025-4123, GO-2023-2409)#2619dgageot merged 1 commit intodocker:mainfrom
dgageot merged 1 commit intodocker:mainfrom
Conversation
88b2a8e to
2d9a37d
Compare
tdabasinskas
added a commit
to cogvel/docker-agent
that referenced
this pull request
May 4, 2026
Addresses the following reported by `govulncheck`:
```plain
=== Symbol Results ===
Vulnerability #1: GO-2025-4123
Denial-of-Service (DoS) via crafted JSON Web Encryption (JWE) token high
compression ratio in github.com/dvsekhvalnov/jose2go
More info: https://pkg.go.dev/vuln/GO-2025-4123
Module: github.com/dvsekhvalnov/jose2go
Found in: github.com/dvsekhvalnov/jose2go@v1.5.0
Fixed in: github.com/dvsekhvalnov/jose2go@v1.7.0
Example traces found:
#1: pkg/tools/mcp/tokenstore_keyring.go:94:25: mcp.KeyringTokenStore.load calls keyring.fileKeyring.Get, which calls jose2go.Decode
Vulnerability #2: GO-2023-2409
Denial of service when decrypting attacker controlled input in
github.com/dvsekhvalnov/jose2go
More info: https://pkg.go.dev/vuln/GO-2023-2409
Module: github.com/dvsekhvalnov/jose2go
Found in: github.com/dvsekhvalnov/jose2go@v1.5.0
Fixed in: github.com/dvsekhvalnov/jose2go@v1.5.1-0.20231206184617-48ba0b76bc88
Example traces found:
#1: pkg/tools/mcp/tokenstore_keyring.go:94:25: mcp.KeyringTokenStore.load calls keyring.fileKeyring.Get, which calls jose2go.Decode
#2: pkg/tools/mcp/tokenstore_keyring.go:156:19: mcp.KeyringTokenStore.persistLocked calls keyring.fileKeyring.Set, which calls jose2go.Encrypt
Your code is affected by 2 vulnerabilities from 1 module.
```
There was already docker#2361 - not
sure about the reason it was closed.
Upstream PR: docker#2619.
dgageot
approved these changes
May 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Addresses the following reported by
govulncheck:There was already #2361 - not sure about the reason it was closed.