chore(deps): update golang.org/x/text to v0.40.0 (GO-2026-5970) - #3120
Merged
Merged
Conversation
govulncheck reports GO-2026-5970 (infinite loop on invalid input) in golang.org/x/text v0.38.0, reachable through StartH2CServer. master already uses v0.40.0. Claude-Session: https://claude.ai/code/session_01QKDYQr53zNKkR7nif2CAAq
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.
govulncheck in the v4
Run checksworkflow reports GO-2026-5970 (infinite loop on invalid input) ingolang.org/x/textv0.38.0, reachable throughStartH2CServer. The vulnerability was published on 2026-07-14, after the last green v4 run.masteralready uses v0.40.0.This updates
golang.org/x/textto v0.40.0 onv4(thegodirective stays at 1.25.0) and adds a line to the v4.16.0 changelog.Checked locally:
go test -race ./...,go vet,staticcheck,golintandgovulncheckpass.https://claude.ai/code/session_01QKDYQr53zNKkR7nif2CAAq