CVE-2020-5303

Source
https://nvd.nist.gov/vuln/detail/CVE-2020-5303
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2020-5303.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2020-5303
Aliases
Related
Published
2020-04-10T19:15:13.290Z
Modified
2025-11-14T11:08:21.187554Z
Severity
  • 3.7 (Low) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L CVSS Calculator
Summary
[none]
Details

Tendermint before versions 0.33.3, 0.32.10, and 0.31.12 has a denial-of-service vulnerability. Tendermint does not limit the number of P2P connection requests. For each p2p connection, it allocates XXX bytes. 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. Additionally, Tendermint 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 above denial of service), which ultimately will lead to the node panicking. These issues are patched in Tendermint 0.33.3 and 0.32.10.

References

Affected packages

Git / github.com/tendermint/tendermint

Affected ranges

Type
GIT
Repo
https://github.com/tendermint/tendermint
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

0.*

0.1
0.19.0-rc1
0.19.0-rc2
0.2

v0.*

v0.0.0
v0.0.1
v0.10.0
v0.10.0-rc1
v0.10.0-rc2
v0.10.1
v0.10.2
v0.10.3
v0.10.4
v0.11.0
v0.11.1
v0.12.0
v0.12.1
v0.13.0
v0.14.0
v0.15.0
v0.16.0
v0.17.0
v0.17.1
v0.18.0
v0.18.0-autodraft
v0.19.0
v0.19.0-rc3
v0.19.0-rc4
v0.19.1
v0.19.2
v0.19.2-rc0
v0.19.3
v0.19.3-rc0
v0.19.4-rc0
v0.19.5
v0.19.5-rc0
v0.19.5-rc1
v0.19.6
v0.19.6-rc2
v0.19.7
v0.19.7-rc0
v0.19.8
v0.19.9
v0.19.9-rc0
v0.20.0
v0.20.1-rc0
v0.21.0
v0.21.0-rc0
v0.21.1-rc1
v0.22.0
v0.22.0-autodraft
v0.22.0-rc0
v0.22.0-rc1
v0.22.0-rc2
v0.22.1
v0.22.2
v0.22.2-rc0
v0.22.3
v0.22.4
v0.22.4-rc0
v0.22.5
v0.22.6
v0.22.6-rc0
v0.22.7
v0.22.8
v0.22.8-autodraft
v0.22.8-rc0
v0.23.0
v0.23.1
v0.24.0
v0.24.0-rc0
v0.25.0
v0.26.0
v0.26.0-dev0
v0.26.1
v0.26.1-rc0
v0.26.1-rc1
v0.26.2
v0.26.2-rc0
v0.26.3
v0.26.4
v0.27.0
v0.27.0-dev0
v0.27.0-dev1
v0.27.0-rc0
v0.27.0-rc1
v0.27.1
v0.27.2
v0.27.3
v0.27.4
v0.28.0
v0.28.0-beta1
v0.28.0-dev0
v0.28.1
v0.29.0
v0.29.0-beta0
v0.29.0-beta1
v0.29.0-rc0
v0.29.1
v0.29.1-rc0
v0.29.2
v0.29.2-rc0
v0.29.2-rc1
v0.29.2-rc2
v0.30.0
v0.30.0-rc0
v0.30.1
v0.30.2
v0.31.0
v0.31.0-dev0
v0.31.0-rc0
v0.31.1
v0.31.2
v0.31.3
v0.31.4
v0.31.5
v0.31.6
v0.31.7
v0.32.0
v0.32.0-dev0
v0.32.0-dev1
v0.32.0-dev2
v0.32.1
v0.33.0-dev1
v0.33.0-dev2
v0.33.1-dev0
v0.33.1-dev1
v0.33.1-dev2
v0.33.1-dev3
v0.7.0
v0.7.1
v0.7.2
v0.7.3
v0.7.4
v0.8.0
v0.9.0
v0.9.1
v0.9.2