Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump github.com/tendermint/tendermint from 0.28.0 to 0.31.1 #196

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 17, 2023

Bumps github.com/tendermint/tendermint from 0.28.0 to 0.31.1.

Release notes

Sourced from github.com/tendermint/tendermint's releases.

v0.31.1 (WARNING: ALPHA SOFTWARE)

https://github.com/tendermint/tendermint/blob/master/CHANGELOG.md#0311

v0.31.0 (WARNING: ALPHA SOFTWARE)

https://github.com/tendermint/tendermint/blob/master/CHANGELOG.md#0310

v0.31.0-rc0

No release notes provided.

v0.30.4 (WARNING: ALPHA SOFTWARE)

https://github.com/tendermint/tendermint/blob/v0.30/CHANGELOG.md#v0304

v0.30.3 (WARNING: ALPHA SOFTWARE)

https://github.com/tendermint/tendermint/blob/v0.30/CHANGELOG.md#v0303

v0.30.2 (WARNING: ALPHA SOFTWARE)

https://github.com/tendermint/tendermint/blob/master/CHANGELOG.md#0302

v0.30.1 (WARNING: ALPHA SOFTWARE)

https://github.com/tendermint/tendermint/blob/master/CHANGELOG.md#0301

v0.30.0 (WARNING: ALPHA SOFTWARE)

https://github.com/tendermint/tendermint/blob/master/CHANGELOG.md#0300

v0.29.2 (WARNING: ALPHA SOFTWARE)

https://github.com/tendermint/tendermint/blob/master/CHANGELOG.md#0292

v0.29.1 (WARNING: ALPHA SOFTWARE)

https://github.com/tendermint/tendermint/blob/master/CHANGELOG.md#0291

v0.29.1-rc0

This is the v0.29.1 release manually tagged since unrelated non-deterministic test-failure threw off the build automation.

Changelog

v0.29.0 (WARNING: ALPHA SOFTWARE)

https://github.com/tendermint/tendermint/blob/master/CHANGELOG.md#0290

v0.28.1 (WARNING: ALPHA SOFTWARE)

https://github.com/tendermint/tendermint/blob/master/CHANGELOG.md#0281

Changelog

Sourced from github.com/tendermint/tendermint's changelog.

v0.31.12

April 6, 2020

This security release fixes:

Denial of Service 1

Tendermint 0.33.2 and earlier does not limit the number of P2P connection requests. For each p2p connection, Tendermint allocates ~0.5MB. Even though this memory is garbage collected once the connection is terminated (due to duplicate IP or reaching a maximum number of inbound peers), temporary memory spikes can lead to OOM (Out-Of-Memory) exceptions.

Tendermint 0.33.3, 0.32.10, and 0.31.12 limit the total number of P2P incoming connection requests to to p2p.max_num_inbound_peers + len(p2p.unconditional_peer_ids).

Notes:

  • Tendermint does not rate limit P2P connection requests per IP (an attacker can saturate all the inbound slots);
  • Tendermint does not rate limit HTTP(S) requests. If you expose any RPC endpoints to the public, please make sure to put in place some protection (https://www.nginx.com/blog/rate-limiting-nginx/). We may implement this in the future (#1696).

Denial of Service 2

Tendermint 0.33.2 and earlier does not reclaim activeID of a peer after it's removed in Mempool reactor. This does not happen all the time. It only happens when a connection fails (for any reason) before the Peer is created and added to all reactors. RemovePeer is therefore called before AddPeer, which leads to always growing memory (activeIDs map). The activeIDs map has a maximum size of 65535 and the node will panic if this map reaches the maximum. An attacker can create a lot of connection attempts (exploiting Denial of Service 1), which ultimately will lead to the node panicking.

Tendermint 0.33.3, 0.32.10, and 0.31.12 claim activeID for a peer in InitPeer, which is executed before MConnection is started.

Notes:

  • InitPeer function was added to all reactors to combat a similar issue - #3338;
  • Denial of Service 2 is independent of Denial of Service 1 and can be executed without it.

All clients are recommended to upgrade

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [github.com/tendermint/tendermint](https://github.com/tendermint/tendermint) from 0.28.0 to 0.31.1.
- [Release notes](https://github.com/tendermint/tendermint/releases)
- [Changelog](https://github.com/tendermint/tendermint/blob/main/CHANGELOG.md)
- [Commits](tendermint/tendermint@v0.28.0...v0.31.1)

---
updated-dependencies:
- dependency-name: github.com/tendermint/tendermint
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Feb 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file go Pull requests that update Go code
Development

Successfully merging this pull request may close these issues.

0 participants