Skip to content

fix(security): bump golang.org/x/crypto to v0.50.0 (5 CVEs)#2

Merged
zach-source merged 2 commits into
mainfrom
security/bump-golang-crypto-v0.50.0
Apr 22, 2026
Merged

fix(security): bump golang.org/x/crypto to v0.50.0 (5 CVEs)#2
zach-source merged 2 commits into
mainfrom
security/bump-golang-crypto-v0.50.0

Conversation

@zach-source
Copy link
Copy Markdown
Owner

Summary

Bumps Go crypto/sys/text dependencies to address 5 SSH-related CVEs in golang.org/x/crypto (network-accessible, no-auth surface).

Package Before After
golang.org/x/crypto v0.31.0 v0.50.0
golang.org/x/sys (indirect) v0.38.0 v0.43.0
golang.org/x/text (indirect) v0.21.0 v0.36.0
Go toolchain 1.24.2 1.25.0 (required by x/crypto v0.50)

Other changes

  • go mod tidy promoted three charmbracelet/* packages from indirect to direct since they are imported directly by the codebase (cleanup, no behavior change).

Verification

  • go build ./... succeeds.

Test plan

  • CI green (if any)
  • Local smoke test: nixfleet --help

Bumps golang.org/x/crypto v0.31.0 → v0.50.0 to address 5 SSH-related CVEs
(network-accessible, no-auth surface). Indirect deps bumped to consistent
versions: x/sys v0.38.0 → v0.43.0, x/text v0.21.0 → v0.36.0.

x/crypto v0.50.0 requires Go 1.25.0 (was 1.24.2). go mod tidy also
promoted three charmbracelet/* deps from indirect to direct since they
are imported directly by the codebase.

Verified: `go build ./...` succeeds.
Updates the buildGoModule vendorHash in pkgs/nixfleet/default.nix to
match the new go.sum after bumping golang.org/x/crypto v0.31 → v0.50
(and the indirect x/sys + x/text bumps).

Got hash from CI failure log:
  sha256-bMpgBgpnO6rMoXW0IQouJwBed8sfVHLx7s0ThlvmJSo=
@zach-source zach-source merged commit 4db630e into main Apr 22, 2026
0 of 3 checks passed
@zach-source zach-source deleted the security/bump-golang-crypto-v0.50.0 branch April 22, 2026 02:03
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.

1 participant