Repository navigation
fix(deps): update vulnerable Go dependencies - #1574
Conversation
Update the Go dependency set to clear known reachable HTTP/2 vulnerabilities and apply additional identity and signature validation hardening already reviewed on v1.8-dev. Co-Authored-By: Claude GPT-5 <[email protected]>
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the
|
|
🕓 Review not started yet because the new head is waiting for the 30-minute push debounce.
Commit 8407997. Normal review starts when eligible; priority review starts as soon as a slot is available. |
Backport the Go 1.27.3 toolchain pins from v1.8-dev and align the remaining vet workflow pin with the repository minimum. Co-Authored-By: Claude GPT-5 <[email protected]>
Align Go pins across CI, the BLS action, Dockerfiles and documentation, including the vet workflow left on Go 1.26.6. Pin golangci-lint v2.15.0 in CI, Makefile and go.mod, and update its required module graph. Upgrade govulncheck to v1.9.0. Upgrade both mockery pins to v3.8.1 for Go 1.27.2 export-data support and regenerate mocks. The generated changes only mark mock constructors and cleanup callbacks as test helpers; protobuf output is unchanged. Validation: build, lint, vet, vulncheck, mock/protobuf generation and selected race tests pass. One initial wall-clock load assertion failed; the consensus package passes on retry and the isolated load test passes 10/10 runs on both Go 1.27.1 and Go 1.27.2. <sub>🤖 Co-authored by [Claudius the Magnificent](https://github.com/lklimek/claudius) AI Agent</sub> Co-authored-by: Codex GPT-6 <[email protected]>
Restore the exact golangci-lint v2.15.0 pins and compatible module graph from the v1.8-dev backport after resolving the Go version cherry-pick conflicts. Co-Authored-By: Claude GPT-5 <[email protected]>
|
go update that addresses remaining issues is in #1575 |
Resolve the dependency security update against the Go 1.27-compatible tooling backport so govulncheck evaluates both halves of the emergency update together. Co-Authored-By: Claude GPT-5 <[email protected]>
…-dependencies # Conflicts: # go.mod # go.sum
TL;DR: Updates Tenderdash's Go dependency set to remove all known reachable dependency vulnerabilities on top of the merged Go 1.27.3 hotfix.
User story
As a Tenderdash operator, I want production dependencies to include their current security fixes, so exposed RPC, gRPC, networking, identity parsing, and signature paths do not retain known vulnerabilities.
Scenario
Base flow
Tenderdash v1.8.1 builds and runs with the dependency versions recorded in
go.modandgo.sum.Actual behavior
govulncheckfinds five reachable HTTP/2 vulnerabilities throughgolang.org/x/netv0.59.0. The dependency graph also contains the vulnerablemoby/sys/userv0.4.0, while btcec v2.5.1 contains additional signature-validation hardening already proposed forv1.8-dev.Expected behavior
Tenderdash uses patched dependency versions and a combined scan with Go 1.27.3 reports no reachable or imported-package vulnerabilities.
Detailed discussion
What was done
golang.org/x/netto v0.62.0, clearing the five reachable HTTP/2 advisories fixed since v0.59.0 and the later module-level HTML advisories.golang.org/x/*modules to their compatible versions.moby/sys/userv0.4.1 fromv1.8-devfor CVE-2026-61801.go.sumwithgo mod tidyandgo mod verify.An independent source-level security review found no cryptographic behavior change in Tenderdash's ECDSA path and rated the aggregate update low risk.
The documentation-only VuePress 1 dependency tree is not shipped in Tenderdash binaries. Its latest theme release remains vulnerable and npm's suggested downgrade is not a valid remediation; eliminating those alerts requires a separate documentation migration rather than a lockfile security bump.
Testing
GOTOOLCHAIN=go1.27.3+auto make testGOTOOLCHAIN=go1.27.3+auto go mod verifygovulncheck v1.9.0 ./...on the combined tree with Go 1.27.3: 0 reachable vulnerabilities and 0 vulnerabilities in imported packages.golang.org/x/crypto/openpgp; upstream provides no fixed version and Tenderdash does not import that package.master, three unrelated timing/load-sensitive tests failed in one full-suite run and each passed immediately when repeated in isolation.Breaking changes
None.
Prior work
v1.8-dev; this PR carries the same update into the v1.8.1 hotfix line.master; the remaining PR diff is dependency-only.Attribution
🤖 Co-authored by Claudius the Magnificent AI Agent