Skip to content

Bump golang.org/x/net to v0.55.0 to fix GO-2026-5026 - #257

Merged
umputun merged 1 commit into
umputun:masterfrom
paskal:fix/bump-x-net
Jul 4, 2026
Merged

Bump golang.org/x/net to v0.55.0 to fix GO-2026-5026#257
umputun merged 1 commit into
umputun:masterfrom
paskal:fix/bump-x-net

Conversation

@paskal

@paskal paskal commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

golang.org/x/net v0.54.0 is affected by GO-2026-5026 (idna: failure to reject ASCII-only Punycode-encoded labels). It is reachable in reproxy from the TLS certificate path: proxy.cmmanager.GetCertificate → certmagic Config.GetCertificateidna.ToASCII.

govulncheck ./... reported the trace before the bump and reports zero affected vulnerabilities after.

This bumps golang.org/x/net to v0.55.0 (the fixed release), which pulls golang.org/x/sys to v0.45.0 transitively. The vendored tree is regenerated with go mod vendor to match. Both remain indirect dependencies; no direct dependencies were added.

golang.org/x/net v0.54.0 is affected by GO-2026-5026 (idna: failure to
reject ASCII-only Punycode-encoded labels), reachable from the TLS
certificate path via certmagic's GetCertificate -> idna.ToASCII.
govulncheck confirmed the trace before the bump and reports zero
affected vulnerabilities after.

x/sys is pulled to v0.45.0 as a transitive requirement. Vendored tree
updated to match.
@paskal
paskal requested a review from umputun as a code owner July 3, 2026 23:55

@umputun umputun left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, verified independently before signing off:

  • go.sum for x/net v0.55.0 and x/sys v0.45.0 matches sum.golang.org exactly
  • vendor diff is scoped to x/net + x/sys + modules.txt only, and a fresh go mod vendor regenerates byte-identical to this tree
  • govulncheck ./... shows GO-2026-5026 reachable via app/proxy/ssl.go:206 on master and 0 affecting the code after the bump
  • build + vet + go mod verify clean

thx

@umputun
umputun merged commit df108ca into umputun:master Jul 4, 2026
2 checks passed
@paskal
paskal deleted the fix/bump-x-net branch July 4, 2026 09:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants