Skip to content
Heist/ feed
Back to feed
Low

Security advisory

Type: advisorySources: OSVCVE: CVE-2020-5303

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2020-5303
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 11:29 UTC · Revision 1

Source evidence

CVE-2020-5303

core-osv · Original source

Published 10 Apr 2020, 19:15 UTC

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.

osv:CVE-2020-5303
Complete source record
{
  "id": "5685e963cc07d472a9025e9b13468b1fcee0892570f1389b723580fb59601051",
  "url": "https://osv.dev/vulnerability/CVE-2020-5303",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2020-5303",
    "summary": "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.",
    "evidence": "osv:CVE-2020-5303",
    "products": [],
    "severity": "low",
    "structured": {
      "id": "CVE-2020-5303",
      "aliases": [
        "CVE-2020-5303",
        "GHSA-v24h-pjjv-mcp6"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/tendermint/tendermint",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "8de846663f07e0c2b91186064aeeed3c27f111ed"
                },
                {
                  "introduced": "747f99fdc198d7ae6456b010c9b8857aae97e25f"
                },
                {
                  "fixed": "eab4d6d82b1387791fec9511ab2c40a1f71aa628"
                },
                {
                  "introduced": "af992361055b5541c1bd388994e386652e4d7254"
                },
                {
                  "fixed": "13eff7f7ed80bb5deb8d294998dc429b29bf9fe3"
                },
                {
                  "fixed": "e2d6859afd7dba4cf97c7f7d412e7d8fc908d1cd"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:tendermint:tendermint:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "0.31.12"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:tendermint:tendermint:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0.32.0"
                      },
                      {
                        "fixed": "0.32.10"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:tendermint:tendermint:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0.33.0"
                      },
                      {
                        "fixed": "0.33.3"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "e2d6859afd7dba4cf97c7f7d412e7d8fc908d1cd"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v0.31.11",
            "v0.32.9",
            "v0.33.2",
            "v0.33.1",
            "v0.33.1-dev3",
            "v0.33.1-dev2",
            "v0.33.1-dev1",
            "v0.33.0",
            "v0.33.1-dev0",
            "v0.33.0-dev2",
            "v0.33.0-dev1",
            "v0.32.8",
            "v0.32.7",
            "v0.31.10",
            "v0.32.6",
            "v0.32.5",
            "v0.31.9",
            "v0.31.8",
            "v0.32.4",
            "v0.32.3",
            "v0.32.2",
            "v0.32.1",
            "v0.31.7",
            "v0.32.0",
            "v0.31.6",
            "v0.31.5",
            "v0.29.1-rc0",
            "v0.29.1",
            "v0.31.4",
            "v0.31.3",
            "v0.31.1",
            "v0.30.2",
            "v0.31.2",
            "v0.31.0",
            "v0.0.1",
            "v0.0.0",
            "v0.30.1",
            "v0.30.0",
            "v0.29.2",
            "v0.29.0",
            "v0.28.1",
            "v0.28.0",
            "v0.27.4",
            "v0.27.3",
            "v0.27.2",
            "v0.27.1",
            "v0.27.0",
            "v0.26.4",
            "v0.26.3",
            "v0.26.2",
            "v0.26.1",
            "v0.26.0",
            "v0.25.0",
            "v0.24.0",
            "v0.23.1",
            "v0.23.0",
            "v0.22.8-autodraft",
            "v0.22.7",
            "v0.22.6",
            "v0.22.5",
            "v0.22.4",
            "v0.22.3",
            "v0.22.2",
            "v0.22.1",
            "v0.22.0-autodraft",
            "v0.22.0",
            "v0.21.0",
            "v0.21.0-rc0",
            "v0.20.0",
            "v0.19.9",
            "v0.19.8",
            "v0.19.7-rc0",
            "v0.19.7",
            "v0.19.6",
            "v0.19.5",
            "v0.19.3",
            "v0.19.2",
            "v0.19.1",
            "v0.19.0",
            "v0.18.0-autodraft",
            "v0.18.0",
            "v0.17.1",
            "v0.17.0",
            "v0.16.0",
            "v0.15.0",
            "v0.13.0",
            "v0.12.1",
            "v0.10.4",
            "v0.11.0",
            "v0.10.3",
            "v0.10.2",
            "v0.10.1",
            "v0.10.0",
            "v0.10.0-rc2",
            "v0.10.0-rc1",
            "v0.9.2",
            "v0.9.1",
            "v0.9.0",
            "v0.8.0",
            "v0.7.4",
            "v0.7.3",
            "v0.7.2",
            "v0.7.1",
            "v0.7.0",
            "0.2",
            "0.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-5303.json"
          }
        }
      ],
      "modified": "2026-10-20T10:54:22.540018533Z",
      "provider": "osv",
      "references": [
        "https://github.com/tendermint/tendermint/security/advisories/GHSA-v24h-pjjv-mcp6",
        "https://hackerone.com/reports/820317",
        "https://github.com/tendermint/tendermint/commit/e2d6859afd7dba4cf97c7f7d412e7d8fc908d1cd"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2020-5303",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 385236,
  "published_at": "2020-04-10T19:15:13.29+00:00"
}