Skip to content

fix: bump Go to 1.26.2 and deps to resolve govulncheck failures#2943

Merged
rootulp merged 2 commits intov0.39.x-celestiafrom
fix/govulncheck-v0.39
Apr 17, 2026
Merged

fix: bump Go to 1.26.2 and deps to resolve govulncheck failures#2943
rootulp merged 2 commits intov0.39.x-celestiafrom
fix/govulncheck-v0.39

Conversation

@rootulp
Copy link
Copy Markdown
Collaborator

@rootulp rootulp commented Apr 17, 2026

Summary

Vulnerabilities resolved

ID Package Fixed in
GO-2026-4947 crypto/x509 go1.26.2
GO-2026-4946 crypto/x509 go1.26.2
GO-2026-4870 crypto/tls go1.26.2
GO-2026-4866 crypto/x509 go1.26.2
GO-2026-4865 html/template go1.26.2
GO-2026-4910 github.com/go-git/go-git/v5 v5.17.1
GO-2026-4909 github.com/go-git/go-git/v5 v5.17.1
GO-2026-4762 google.golang.org/grpc v1.79.3
GO-2026-4559 golang.org/x/net v0.51.0
GO-2026-4550 github.com/cloudflare/circl v1.6.3

Files changed

  • go.mod / go.sum — Go version + dep bumps
  • DOCKER/Dockerfile, DOCKER/Dockerfile.testing, test/docker/Dockerfile, test/e2e/docker/Dockerfile, scripts/proto-gen.sh — Go base image bumps
  • rpc/jsonrpc/server/ws_handler_test.go, test/e2e/pkg/testnet.go — format string fixes for Go 1.26 go vet
  • .changelog/unreleased/bug-fixes/bump-go-1.26.2-and-deps.md — changelog entry

Test plan

  • govulncheck passes
  • Build (amd64, linux) and Build (arm, linux) pass
  • golangci-lint passes (format fixes pushed)
  • Tests pass (flake in TestStateOversizedBlock may need retry)

Resolves all vulnerabilities currently flagged by govulncheck on
v0.39.x-celestia:

- Go 1.25.7 → 1.26.2 (stdlib: crypto/x509, crypto/tls, html/template)
- go-git/v5 5.16.5 → 5.17.2
- google.golang.org/grpc 1.78.0 → 1.80.0
- golang.org/x/net 0.50.0 → 0.53.0
- cloudflare/circl 1.6.1 → 1.6.3 (indirect)

Dockerfiles and proto-gen.sh updated to match.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@rootulp rootulp self-assigned this Apr 17, 2026
@rootulp rootulp enabled auto-merge (squash) April 17, 2026 00:15
Copy link
Copy Markdown

@devin-ai-integration devin-ai-integration Bot left a comment

Choose a reason for hiding this comment

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

Devin Review found 2 potential issues.

View 3 additional findings in Devin Review.

Open in Devin Review

Comment on lines +1 to +2
- Bump Go to 1.26.2 and update go-git, grpc, x/net, and cloudflare/circl to
resolve stdlib and dependency vulnerabilities flagged by govulncheck.
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 Changelog filename missing required issue/PR number prefix

The changelog file is named bump-go-1.26.2-and-deps.md but both CONTRIBUTING.md and CLAUDE.md require the format {issue-or-pr-number}-{description}.md. The file should be prefixed with the PR number (e.g., 2943-bump-go-1.26.2-and-deps.md). Other changelog entries in the repo follow this convention, e.g., .changelog/unreleased/improvements/2913-mempool-user-tx-latency-metric.md.

Prompt for agents
The changelog file needs to be renamed to include the PR number prefix per the CONTRIBUTING.md and CLAUDE.md conventions. The required format is {issue-or-pr-number}-{description}.md. Rename .changelog/unreleased/bug-fixes/bump-go-1.26.2-and-deps.md to .changelog/unreleased/bug-fixes/2943-bump-go-1.26.2-and-deps.md (assuming PR #2943). Also update the content to follow the required entry format: - [module] \#xxx description (@contributor). For example: - [deps] \#2943 Bump Go to 1.26.2 and update go-git, grpc, x/net, and cloudflare/circl to resolve stdlib and dependency vulnerabilities flagged by govulncheck.
Open in Devin Review

Was this helpful? React with 👍 or 👎 to provide feedback.

Comment on lines +1 to +2
- Bump Go to 1.26.2 and update go-git, grpc, x/net, and cloudflare/circl to
resolve stdlib and dependency vulnerabilities flagged by govulncheck.
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 Changelog entry content missing required format (module tag, PR number, contributor)

The changelog entry does not follow the required format specified in CONTRIBUTING.md: - [module] \#xxx Some description of the change (@contributor). The current entry is missing the [module] tag, the \#xxx PR/issue reference, and the (@contributor) attribution. Compare with the properly formatted entry at .changelog/unreleased/improvements/2913-mempool-user-tx-latency-metric.md which uses - [mempool] \#2913 Add UserTxLatency histogram metric....

Suggested change
- Bump Go to 1.26.2 and update go-git, grpc, x/net, and cloudflare/circl to
resolve stdlib and dependency vulnerabilities flagged by govulncheck.
- [deps] \#2943 Bump Go to 1.26.2 and update go-git, grpc, x/net, and
cloudflare/circl to resolve stdlib and dependency vulnerabilities flagged by
govulncheck.
Open in Devin Review

Was this helpful? React with 👍 or 👎 to provide feedback.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@rootulp rootulp disabled auto-merge April 17, 2026 03:03
@rootulp
Copy link
Copy Markdown
Collaborator Author

rootulp commented Apr 17, 2026

Overriding approvals b/c CI fails on all the mergify backport PRs because of this

@rootulp rootulp merged commit 79688e6 into v0.39.x-celestia Apr 17, 2026
27 of 28 checks passed
@rootulp rootulp deleted the fix/govulncheck-v0.39 branch April 17, 2026 03: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