Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 13 additions & 13 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/tendermint/tendermint

go 1.17
go 1.25.0
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Go version jump from 1.17 to 1.25.0 changes runtime behavior

High Severity

The go directive jumps from 1.17 to 1.25.0 as a side effect of bumping golang.org/x/crypto to v0.50.0. This is an 8-major-version leap that silently introduces Go 1.25's container-aware GOMAXPROCS default, which changes parallelism from using all host CPUs to respecting cgroup CPU limits. For Tendermint nodes running in containers/Kubernetes, this could significantly reduce default parallelism and degrade performance. A lower x/crypto version (e.g. v0.31.0, requiring only Go 1.20) would address the security vulnerability with a far smaller blast radius.

Additional Locations (1)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit bc491f2. Configure here.


require (
github.com/BurntSushi/toml v1.2.0
Expand Down Expand Up @@ -29,9 +29,9 @@ require (
github.com/spf13/viper v1.12.0
github.com/stretchr/testify v1.8.0
github.com/tendermint/tm-db v0.6.6
golang.org/x/crypto v0.0.0-20220525230936-793ad666bf5e
golang.org/x/net v0.0.0-20220617184016-355a448f1bc9
golang.org/x/sync v0.0.0-20220513210516-0976fa681c29
golang.org/x/crypto v0.50.0
golang.org/x/net v0.52.0
golang.org/x/sync v0.20.0
google.golang.org/grpc v1.48.0
pgregory.net/rapid v0.4.8
)
Expand All @@ -41,7 +41,7 @@ require (
github.com/creachadair/atomicfile v0.2.6
github.com/creachadair/taskgroup v0.3.2
github.com/golangci/golangci-lint v1.47.2
github.com/google/go-cmp v0.5.8
github.com/google/go-cmp v0.6.0
github.com/vektra/mockery/v2 v2.14.0
gotest.tools v2.2.0+incompatible
)
Expand Down Expand Up @@ -222,11 +222,13 @@ require (
go.uber.org/multierr v1.8.0 // indirect
go.uber.org/zap v1.21.0 // indirect
golang.org/x/exp/typeparams v0.0.0-20220613132600-b0d781184e0d // indirect
golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4 // indirect
golang.org/x/sys v0.0.0-20220702020025-31831981b65f // indirect
golang.org/x/term v0.0.0-20220526004731-065cf7ba2467 // indirect
golang.org/x/text v0.3.7 // indirect
golang.org/x/tools v0.1.12-0.20220628192153-7743d1d949f1 // indirect
golang.org/x/mod v0.34.0 // indirect
golang.org/x/sys v0.43.0 // indirect
golang.org/x/term v0.42.0 // indirect
golang.org/x/text v0.36.0 // indirect
golang.org/x/tools v0.43.0 // indirect
golang.org/x/tools/go/expect v0.1.1-deprecated // indirect
golang.org/x/tools/go/packages/packagestest v0.1.1-deprecated // indirect
google.golang.org/genproto v0.0.0-20220519153652-3a47de7e79bd // indirect
google.golang.org/protobuf v1.28.0 // indirect
gopkg.in/ini.v1 v1.66.6 // indirect
Expand All @@ -246,6 +248,4 @@ require (
github.com/syndtr/goleveldb v1.0.1-0.20200815110645-5c35d600f0ca
)

retract (
[v0.35.0,v0.35.9] // See https://github.com/tendermint/tendermint/discussions/9155
)
retract [v0.35.0, v0.35.9] // See https://github.com/tendermint/tendermint/discussions/9155
Loading
Loading