fix(deps): update vulnerable golang.org/x dependencies#8
Merged
Conversation
Address code scanning alerts by upgrading transitive golang.org/x dependencies past their fixed versions: - golang.org/x/text v0.37.0 -> v0.40.0 (CVE-2026-56852: infinite loop on invalid input; fixed in 0.39.0) - golang.org/x/net v0.55.0 -> v0.56.0 (CVE-2026-46600: panic parsing invalid SVCB/HTTPS RR in dns/dnsmessage; fixed in 0.56.0) - golang.org/x/crypto v0.52.0 -> v0.54.0 (latest maintained release) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AmH7R3A8pk5GF4sGfu1JpZ
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
Resolves the open code scanning (Trivy) alerts on
mainby upgrading the affected transitivegolang.org/xdependencies past their fixed versions.golang.org/x/textdns/dnsmessagegolang.org/x/netcrypto/openpgpunmaintainedgolang.org/x/cryptogolang.org/x/cryptois bumped to the latest maintained release (v0.54.0). Note that GO-2026-5932 flags theopenpgpsubpackage as unmaintained by design and has no fixed version — it is pulled in transitively and cannot be fully cleared by a version bump. Relatedgolang.org/xmodules (mod,sync,sys,term,tools) were pulled forward bygo mod tidyto keep the module graph consistent.Changes
go.mod/go.sum: dependency upgrades only. No source changes.Verification
go build ./...— passesgo vet ./...— passesgo test ./...— passes🤖 Generated with Claude Code
https://claude.ai/code/session_01AmH7R3A8pk5GF4sGfu1JpZ
Generated by Claude Code