Bump golang.org/x/net to v0.55.0#658
Merged
Merged
Conversation
andrewstillv15
approved these changes
Jul 8, 2026
Fixes GO-2026-5026 in golang.org/x/net/idna: ToASCII/ToUnicode incorrectly accepted Punycode-encoded labels that decoded to ASCII-only labels. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
9956b99 to
5e5ca9a
Compare
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.
Bumps golang.org/x/net from 0.54.0 to 0.55.0.
Commit history between tags: golang/net@v0.54.0...v0.55.0
Stacked on top of #657 — that PR raises
x/netfrom v0.49.0 to v0.54.0 as a side effect of thex/cryptobump; this PR takes it the last step to v0.55.0 to pick up the IDNA fix. Rebase target will need to switch tomainafter #657 merges.Security fixes
This upgrade patches 1 critical CVE in
golang.org/x/net/idna.0.55.0
ToASCIIandToUnicodefunctions incorrectly accept Punycode-encoded labels that decode to an ASCII-only label. For example,ToUnicode("xn--example-.com")incorrectly returned the nameexample.com, potentially bypassing name-based allowlists or masking the true label.🤖 Generated with Claude Code