Skip to content

BPP-325: Bump golang.org/x/net from 0.45.0 to 0.55.0 - #17

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/golang.org/x/net-0.55.0
Open

BPP-325: Bump golang.org/x/net from 0.45.0 to 0.55.0#17
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/golang.org/x/net-0.55.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 3, 2026

Copy link
Copy Markdown
Contributor

Bumps golang.org/x/net from 0.45.0 to 0.55.0.

Commits
  • 7770ec4 go.mod: update golang.org/x dependencies
  • 4ece7b6 html: escape greater-than symbol in doctype identifiers
  • 08be507 html: improve Noah's Ark clause performance
  • a8fb2fe html: properly render fostered elements in foreign content
  • 0dc5b7a html: properly check namespace in "in body" any other end tag
  • a452f3c html: ignore duplicate attributes during tokenization
  • f865199 quic: fix appendMaxDataFrame erroneously accumulating sentLimit
  • 210ed3c quic: establish a "happened-before" relationship between stream write and read
  • ad8140e quic: fix buffer slicing when handling overlapping stream data
  • 23ee2ef http2: avoid API changes when built with go1.27
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

View with Codesmith Autofix with Codesmith
Need help on this PR? Tag /codesmith with what you need. Autofix is disabled.

Bumps [golang.org/x/net](https://github.com/golang/net) from 0.45.0 to 0.55.0.
- [Commits](golang/net@v0.45.0...v0.55.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-version: 0.55.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels Jul 3, 2026
@greptile-apps

greptile-apps Bot commented Jul 3, 2026

Copy link
Copy Markdown

Greptile Summary

This dependabot PR bumps golang.org/x/net from v0.45.0 to v0.55.0 to address multiple CVEs (including XSS via duplicate attributes, several HTML-parser correctness issues, and a DoS in the HTML parser). Because v0.55.0 requires Go 1.25, the PR also promotes the module's go directive from go 1.24.0 / toolchain go1.24.2 to go 1.25.0, and correspondingly upgrades golang.org/x/crypto, sync, sys, term, text, mod, and tools.

  • Security fixes: Patches CVE-2026-42506, CVE-2026-42502, CVE-2026-25680, CVE-2026-25681, CVE-2026-27136, and CVE-2026-39821 in the html and idna sub-packages of golang.org/x/net.
  • Go version bump: The go directive moves to 1.25.0 (a hard minimum enforced by the Go toolchain since Go 1.21), but all three CI workflows still pin go-version: 1.21.3, which will cause every build to fail until those workflow files are updated.

Confidence Score: 3/5

The dependency upgrades themselves are straightforward security patches, but the implicit Go 1.25 toolchain requirement introduced by net v0.55.0 will break all three CI workflows, which still pin Go 1.21.3.

The three GitHub Actions workflows all specify go-version: 1.21.3, while the updated go.mod now declares go 1.25.0 as the minimum. Go has enforced the go directive as a hard toolchain floor since 1.21, so every CI run — pre-release builds, tagged releases, and example verification — will error out immediately on version mismatch until the workflow files are updated. The security motivation for merging is strong, but the CI breakage needs to be resolved first or in a follow-up before the branch is functional.

.github/workflows/pre-release.yml, .github/workflows/tagged-release.yml, and .github/workflows/verify-example.yml all need their go-version updated to at least 1.25.

Important Files Changed

Filename Overview
go.mod Bumps golang.org/x/net to v0.55.0 and several companion x/ packages; also promotes the go directive from 1.24.0 to 1.25.0 (required by net v0.55.0), but CI workflows still pin Go 1.21.3, which will break all builds.
go.sum Hash entries updated to match all bumped golang.org/x/* packages; no anomalies in the checksum file.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A[dependabot PR: net 0.45 → 0.55] --> B[go.mod: go directive 1.24 → 1.25]
    A --> C[golang.org/x/net v0.55.0\nrequires Go 1.25]
    B --> D{CI workflows\ngo-version: 1.21.3}
    D -->|1.21.3 < 1.25.0| E[❌ Build fails:\ntoolchain version mismatch]
    D -->|fix: bump to 1.25| F[✅ Build succeeds]
    C --> G[Security fixes:\nCVE-2026-42506, 42502\nCVE-2026-25680, 25681\nCVE-2026-27136, 39821]
Loading
%%{init: {'theme': 'base', 'themeVariables': {"darkMode": true, "background": "#0d1117", "primaryColor": "#21262d", "primaryTextColor": "#e6edf3", "primaryBorderColor": "#8b949e", "lineColor": "#8b949e", "textColor": "#e6edf3", "edgeLabelBackground": "#161b22", "actorBkg": "#21262d", "actorBorder": "#8b949e", "actorTextColor": "#e6edf3", "actorLineColor": "#8b949e", "signalColor": "#8b949e", "signalTextColor": "#e6edf3", "noteBkgColor": "#373320", "noteBorderColor": "#d4a72c", "noteTextColor": "#f0e6c0", "labelBoxBkgColor": "#21262d", "labelBoxBorderColor": "#8b949e", "labelTextColor": "#e6edf3", "loopTextColor": "#e6edf3", "activationBkgColor": "#30363d", "activationBorderColor": "#8b949e"}}}%%
flowchart TD
    A[dependabot PR: net 0.45 → 0.55] --> B[go.mod: go directive 1.24 → 1.25]
    A --> C[golang.org/x/net v0.55.0\nrequires Go 1.25]
    B --> D{CI workflows\ngo-version: 1.21.3}
    D -->|1.21.3 < 1.25.0| E[❌ Build fails:\ntoolchain version mismatch]
    D -->|fix: bump to 1.25| F[✅ Build succeeds]
    C --> G[Security fixes:\nCVE-2026-42506, 42502\nCVE-2026-25680, 25681\nCVE-2026-27136, 39821]
Loading

Fix All in Claude Code

Prompt To Fix All With AI
Fix the following 1 code review issue. Work through them one at a time, proposing concise fixes.

---

### Issue 1 of 1
go.mod:4
**CI workflows incompatible with new Go 1.25 minimum**

`golang.org/x/net v0.55.0` requires Go 1.25 in its own `go.mod`, so dependabot has promoted this module's `go` directive from `go 1.24.0` to `go 1.25.0`. All three GitHub Actions workflows (`.github/workflows/pre-release.yml`, `tagged-release.yml`, `verify-example.yml`) pin `go-version: 1.21.3`. Since Go 1.21 enforces the `go` directive as a hard minimum, any build on those workflows will immediately fail with a toolchain version mismatch error, blocking every push to `main` and every tagged release until the workflow files are updated to at least `go-version: 1.25`.

Reviews (1): Last reviewed commit: "Bump golang.org/x/net from 0.45.0 to 0.5..." | Re-trigger Greptile

Comment thread go.mod

toolchain go1.24.2
go 1.25.0

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 CI workflows incompatible with new Go 1.25 minimum

golang.org/x/net v0.55.0 requires Go 1.25 in its own go.mod, so dependabot has promoted this module's go directive from go 1.24.0 to go 1.25.0. All three GitHub Actions workflows (.github/workflows/pre-release.yml, tagged-release.yml, verify-example.yml) pin go-version: 1.21.3. Since Go 1.21 enforces the go directive as a hard minimum, any build on those workflows will immediately fail with a toolchain version mismatch error, blocking every push to main and every tagged release until the workflow files are updated to at least go-version: 1.25.

Prompt To Fix With AI
This is a comment left during a code review.
Path: go.mod
Line: 4

Comment:
**CI workflows incompatible with new Go 1.25 minimum**

`golang.org/x/net v0.55.0` requires Go 1.25 in its own `go.mod`, so dependabot has promoted this module's `go` directive from `go 1.24.0` to `go 1.25.0`. All three GitHub Actions workflows (`.github/workflows/pre-release.yml`, `tagged-release.yml`, `verify-example.yml`) pin `go-version: 1.21.3`. Since Go 1.21 enforces the `go` directive as a hard minimum, any build on those workflows will immediately fail with a toolchain version mismatch error, blocking every push to `main` and every tagged release until the workflow files are updated to at least `go-version: 1.25`.

How can I resolve this? If you propose a fix, please make it concise.

Fix in Claude Code

@devin-ai-integration devin-ai-integration Bot changed the title Bump golang.org/x/net from 0.45.0 to 0.55.0 BPP-325: Bump golang.org/x/net from 0.45.0 to 0.55.0 Aug 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants