Skip to content

Bump x/crypto and x/net to fix Dependabot security alerts - #59

Open
methodofaction wants to merge 1 commit into
mainfrom
security-updates
Open

Bump x/crypto and x/net to fix Dependabot security alerts#59
methodofaction wants to merge 1 commit into
mainfrom
security-updates

Conversation

@methodofaction

Copy link
Copy Markdown
Contributor

What

Upgrades two indirect dependencies to their patched versions:

  • golang.org/x/crypto v0.47.0 → v0.52.0
  • golang.org/x/net v0.48.0 → v0.55.0

(plus transitive bumps of x/sys and x/text pulled in by go mod tidy)

Why

Resolves all 13 open Dependabot alerts:

  • 12 alerts on x/crypto (6 critical, 2 high, 4 medium) — SSH advisories including auth bypass via unenforced @revoked status, server deadlock on unexpected responses, unenforced key constraints, FIDO/U2F presence-check bypass, and several DoS/panic issues.
  • 1 alert on x/net (medium) — HTML parser denial of service.

Reviewer notes

  • x/crypto v0.52.0 requires Go 1.25, so the go directive moves from 1.24.0 to 1.25.0. Consumers of popui.go will need Go 1.25+ after this lands. CI is unaffected — the lint workflow reads its Go version from go.mod.
  • go build ./... and go test ./... pass.

🤖 Generated with Claude Code

Resolves all 13 open Dependabot alerts: 12 golang.org/x/crypto SSH
advisories (several critical) and one golang.org/x/net HTML parser
DoS. x/crypto v0.52.0 requires Go 1.25, so the go directive moves
from 1.24.0 to 1.25.0.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings July 28, 2026 13:38
@netlify

netlify Bot commented Jul 28, 2026

Copy link
Copy Markdown

Deploy Preview for popui-go ready!

Name Link
🔨 Latest commit 0e308ce
🔍 Latest deploy log https://app.netlify.com/projects/popui-go/deploys/6a68b0ed02160200084804b8
😎 Deploy Preview https://deploy-preview-59--popui-go.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@methodofaction

Copy link
Copy Markdown
Contributor Author

@samlown perhaps the only relevant part is this:

Consumers of popui.go will need Go 1.25+ after this lands

@methodofaction
methodofaction requested a review from samlown July 28, 2026 13:40

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.

Pull request overview

Updates the module’s dependency set to remediate Dependabot security alerts by bumping golang.org/x/crypto and golang.org/x/net to patched releases, along with the associated transitive upgrades. Because the patched x/crypto/x/net releases require Go 1.25, the module’s minimum Go version is raised accordingly.

Changes:

  • Bump golang.org/x/crypto to v0.52.0 and golang.org/x/net to v0.55.0 (plus transitive x/sys/x/text updates).
  • Update the go directive to go 1.25.0 to satisfy the upgraded modules’ minimum Go version.
  • Refresh go.sum hashes to match the new module graph.

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.

File Description
go.mod Raises minimum Go version and updates x/crypto, x/net, x/sys, and x/text versions.
go.sum Updates checksums for the bumped golang.org/x/* modules.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@methodofaction
methodofaction requested a review from mrdanwa August 11, 2026 15:02
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