CVE-2020-5303
NixOS vulnerability analysis and mitigation

Overview

CVE-2020-5303 affects Tendermint versions before 0.33.3, 0.32.10, and 0.31.12. The vulnerability was discovered and disclosed in April 2020, impacting Tendermint's P2P connection handling mechanism. This denial-of-service vulnerability stems from two distinct issues in the software's peer connection management system (GitHub Advisory).

Technical details

The vulnerability consists of two denial-of-service vectors: 1) Tendermint does not limit the number of P2P connection requests, allocating memory for each connection that, while eventually garbage collected, can cause temporary memory spikes leading to Out-Of-Memory (OOM) exceptions. 2) The software fails to properly reclaim activeID of a peer after removal in the Mempool reactor, specifically when a connection fails before Peer creation and addition to all reactors. This leads to continuous memory growth in the activeIDs map, which has a maximum size of 65535 entries (GitHub Advisory).

Impact

The vulnerability affects all full nodes except validators behind closed networks. When exploited, it causes the node's memory usage to increase progressively until it either panics in the mempool or crashes due to Out-Of-Memory conditions. The CVSS v3.1 base score is 3.7 (Low) with vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L (NVD).

Mitigation and workarounds

The issues have been patched in Tendermint versions 0.33.3, 0.32.10, and 0.31.12. The fix includes limiting the total number of P2P incoming connection requests to p2p.max_num_inbound_peers + len(p2p.unconditional_peer_ids) and implementing proper activeID management by claiming it during InitPeer execution before MConnection starts. No workarounds are available for unpatched versions (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-69264CRITICAL9.8
  • JavaScriptJavaScript
  • pnpm
NoYesJan 07, 2026
CVE-2025-69263HIGH8.8
  • JavaScriptJavaScript
  • pnpm
NoYesJan 07, 2026
CVE-2025-69262HIGH7.8
  • JavaScriptJavaScript
  • pnpm
NoYesJan 07, 2026
CVE-2025-20807MEDIUM6.7
  • NixOSNixOS
  • android
NoNoJan 06, 2026
CVE-2026-21885MEDIUM6.5
  • NixOSNixOS
  • miniflux
NoYesJan 08, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management