{"id":"CVE-2020-5303","published":"2020-04-10T18:30:15Z","modified":"2024-08-04T08:22:09Z","title":"Denial of service in Tendermint","vendor":"Tendermint","product":"Tendermint","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":3.1,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01369,"percentile":0.72581,"provenance":"source"},"cwes":[{"id":"CWE-789","name":"Memory Allocation with Excessive Size Value"}],"references":[{"url":"https://github.com/tendermint/tendermint/security/advisories/GHSA-v24h-pjjv-mcp6","tags":["x_refsource_CONFIRM"]},{"url":"https://hackerone.com/reports/820317","tags":["x_refsource_MISC"]},{"url":"https://github.com/tendermint/tendermint/commit/e2d6859afd7dba4cf97c7f7d412e7d8fc908d1cd","tags":["x_refsource_MISC"]}],"priority":{"score":16.7,"factors":[{"name":"EPSS percentile","points":14.52},{"name":"CVSS severity","points":2.17}]},"vendorSlug":"tendermint","affectedVersions":[{"vendor":"Tendermint","product":"Tendermint","versions":[">= 0.32.0, < 0.32.10",">= 0.33.0, < 0.33.3","< 0.31.12"]}],"affected":[{"ecosystem":"Go","package":"github.com/tendermint/tendermint","vulnerableRanges":[">=0.33.0, <0.33.3","<0.31.12",">=0.32.0, <0.32.10"],"patched":["0.33.3","0.31.12","0.32.10"],"from":["GHSA-v24h-pjjv-mcp6"],"provenance":"source"}],"summary":{"text":"Tendermint (product Tendermint) has a denial-of-service flaw in its P2P networking layer: it does not limit the number of incoming P2P connection requests, and a peer's activeID is not reclaimed in the Mempool reactor when a connection fails before the peer is added to all reactors. An unauthenticated remote attacker who can reach the node over the network can exploit this by opening many connection attempts, causing memory growth that can lead to out-of-memory conditions or a panic once the activeIDs map reaches its maximum size, and this requires user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:29:13Z"},"euvd":{"id":"EUVD-2021-1191","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2019-25072","published":"2022-12-27","fixed":"0.31.1","kev":false},{"cve":"CVE-2020-5303","published":"2020-04-10","fixed":"0.33.3","kev":false},{"cve":"CVE-2020-15091","published":"2020-07-02","fixed":"0.34.0-dev1.0.20200702134149-480b995a3172","kev":false,"link":{"from":"CVE-2020-5303","to":"CVE-2020-15091","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/tendermint/tendermint","fromFixed":"0.33.3","toFixed":"0.33.6","daysApart":83}]}},{"cve":"CVE-2021-21271","published":"2021-01-26","fixed":"0.34.3","kev":false}],"package":"Go:github.com/tendermint/tendermint"}}