Skip to content

Bump golang.org/x/net to v0.62.0 - #986

Merged
robzolkos merged 1 commit into
mainfrom
bump-x-net-0.62
Oct 28, 2026
Merged

robzolkos merged 1 commit into
mainfrom
bump-x-net-0.62

Conversation

@robzolkos

@robzolkos robzolkos commented Oct 28, 2026 •

Copy link
Copy Markdown
Collaborator

Trivy started failing today (13:14 UTC) on two new advisories in golang.org/x/net/html that are fixed in v0.62.0:

They surfaced on #985 (code-scanning alerts 345 and 346). Main fails the same scan now.

This PR changes go.mod/go.sum and refreshes the Nix vendorHash via make update-nix-hash, which also verified the Nix build. bin/ci passes. govulncheck shows no vulnerable code paths called.

The CLI doesn't import x/net/html directly. It comes in through dependencies.


Summary by cubic

Upgrades golang.org/x/net to v0.62.0, fixing CVE-2026-78661 and CVE-2026-97045 in x/net/html that Trivy flags as of today. Also refreshes the Nix vendorHash to match the new dependencies.

Written for commit 939aa23. Summary will update on new commits.

View guided diff Turn on auto-fix

Fixes CVE-2026-78661 and CVE-2026-97045 in x/net/html, which Trivy
flags as of today. Refreshes the Nix vendorHash to match.
Copilot AI balanced review requested due to automatic review settings October 28, 2026 13:31
@robzolkos
robzolkos requested a review from a team as a code owner October 28, 2026 13:31
@github-actions github-actions Bot added the deps label Oct 28, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approved

No active review issues are recorded for the x/net dependency update and related checksum and Nix packaging changes.

No open issues 🎉

What changed in this PR

Updates golang.org/x/net to address the two x/net/html security advisories reported by Trivy, while keeping the CLI’s dependency checksums and Nix packaging aligned.

Changes:

  • Bumps golang.org/x/net from v0.61.0 to v0.62.0.
  • Updates Go module checksums and the Nix vendor hash for the dependency change.

[!TIP]
If you aren't ready for review, convert to a draft PR.
Click "Convert to draft" or run gh pr ready --undo.
Click "Ready for review" or run gh pr ready to reengage.

File Description
nix/​package.nix Refreshes the vendor hash for the updated dependencies.
go.sum Replaces x/net v0.61.0 checksums with v0.62.0 checksums.
go.mod Updates the x/net requirement to v0.62.0.

Review effort: Balanced

@robzolkos
robzolkos merged commit 6df536f into main Oct 28, 2026
42 checks passed
@robzolkos
robzolkos deleted the bump-x-net-0.62 branch October 28, 2026 13:40
robzolkos added a commit that referenced this pull request Oct 28, 2026
* origin/main:
  Bump golang.org/x/net to v0.62.0 (#986)
@robzolkos robzolkos mentioned this pull request Oct 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants