You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: upgrade to Go 1.25.5 and fix 21 security vulnerabilities (#96)
* feat: upgrade to Go 1.25.5 and fix 21 security vulnerabilities
This PR upgrades the project from Go 1.24.0 to Go 1.25.5 and updates
golang.org/x/crypto from v0.37.0 to v0.45.0, fixing all 21 security
vulnerabilities detected by OSV Scanner.
Vulnerabilities Fixed:
- 16 Go stdlib vulnerabilities (GO-2025-3563, GO-2025-3749, GO-2025-3750,
GO-2025-3751, GO-2025-3849, GO-2025-3956, GO-2025-4007, GO-2025-4008,
GO-2025-4009, GO-2025-4010, GO-2025-4011, GO-2025-4012, GO-2025-4013,
GO-2025-4014, GO-2025-4155, GO-2025-4175)
- 3 golang.org/x/crypto vulnerabilities:
* GO-2025-4135 (CVE-2025-47914): SSH Agent message size validation
* GO-2025-4134 (CVE-2025-58181): SSH GSSAPI unbounded memory
* GO-2025-4116 (CVE-2025-47913): SSH client panic on SSHAGENTSUCCESS
- 2 uncalled stdlib vulnerabilities (GO-2025-4006, GO-2025-4015)
Changes:
- go.mod: Update go directive from 1.24.0 to 1.25.5
- go.mod: Update golang.org/x/crypto from v0.37.0 to v0.45.0
- Updated all GitHub Actions workflows to use Go 1.25.x
- CI matrix now tests against Go 1.24.x and 1.25.x for compatibility
- All tests pass with 92.1% coverage
References:
- Go 1.25 Release: https://go.dev/blog/go1.25
- GO-2025-4135: https://pkg.go.dev/vuln/GO-2025-4135
- GO-2025-4134: https://pkg.go.dev/vuln/GO-2025-4134
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
* fix: update golangci-lint to v2.6 for Go 1.25 support
The linting job was failing because golangci-lint v2.2.1 was built with
Go 1.24 and cannot lint projects targeting Go 1.25.5.
Changes:
- Update golangci-lint-action from v7 to v9
- Update golangci-lint version from v2.2.1 to v2.6
golangci-lint v2.6 is built with Go 1.25 and can successfully lint
Go 1.25.5 projects.
References:
- golangci/golangci-lint#5873
- https://github.com/golangci/golangci-lint-action
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
* chore: Remove Go 1.24.x support and fix perfsprint linting errors
- Remove Go 1.24.x from CI test matrix (only Go 1.25.x required now)
- Fix perfsprint linting errors in benchmark_test.go and output_length_test.go
by replacing string concatenation in loops with strings.Builder
This completes the Go 1.25.5 upgrade by removing backward compatibility
with Go 1.24.x, which is no longer needed since go.mod requires 1.25.5.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
---------
Co-authored-by: Claude Sonnet 4.5 <[email protected]>
0 commit comments