Bump x/crypto and x/net to fix Dependabot security alerts - #59
Open
methodofaction wants to merge 1 commit into
Open
Bump x/crypto and x/net to fix Dependabot security alerts#59methodofaction wants to merge 1 commit into
methodofaction wants to merge 1 commit into
Conversation
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>
✅ Deploy Preview for popui-go ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Contributor
Author
|
@samlown perhaps the only relevant part is this:
|
Contributor
There was a problem hiding this comment.
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/cryptotov0.52.0andgolang.org/x/nettov0.55.0(plus transitivex/sys/x/textupdates). - Update the
godirective togo 1.25.0to satisfy the upgraded modules’ minimum Go version. - Refresh
go.sumhashes 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.
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.
What
Upgrades two indirect dependencies to their patched versions:
golang.org/x/cryptov0.47.0 → v0.52.0golang.org/x/netv0.48.0 → v0.55.0(plus transitive bumps of
x/sysandx/textpulled in bygo mod tidy)Why
Resolves all 13 open Dependabot alerts:
x/crypto(6 critical, 2 high, 4 medium) — SSH advisories including auth bypass via unenforced@revokedstatus, server deadlock on unexpected responses, unenforced key constraints, FIDO/U2F presence-check bypass, and several DoS/panic issues.x/net(medium) — HTML parser denial of service.Reviewer notes
x/cryptov0.52.0 requires Go 1.25, so thegodirective 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 fromgo.mod.go build ./...andgo test ./...pass.🤖 Generated with Claude Code