fix: remediate GO-2026-5942 in extras/dagger - #3313
Open
chainloop-platform[bot] wants to merge 1 commit into
Open
fix: remediate GO-2026-5942 in extras/dagger#3313chainloop-platform[bot] wants to merge 1 commit into
chainloop-platform[bot] wants to merge 1 commit into
Conversation
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.
Summary
Updated the auxiliary
extras/daggerGo module to use the fixedgolang.org/x/netrelease that resolves GO-2026-5942. The module resolver also advancedgolang.org/x/systo the matching indirect version required by the updated dependency graph.Vulnerability Fixed
GO-2026-5942-golang.org/x/net (HIGH): Parsing an invalid SVCB or HTTPS RR can panic when the size of a parameter value overflows the message buffer.
Changes Made
extras/dagger/go.modfromgolang.org/x/net v0.55.0tov0.56.0, the first fixed release identified by the assessment hint and module version check.extras/dagger/go.sumwith the newgolang.org/x/netchecksums and the resolver-requiredgolang.org/x/sys v0.46.0checksums.Verification
Ran
syft dir:. -o json | grype -q --only-fixed -o jsonfrom the repository root and checked the resulting matches forGO-2026-5942-golang.org/x/net. Outcome:resolved— Grype no longer reports the target advisory in the patched source tree.Risk Assessment
View the risk assessment in Chainloop