Allocation of Resources Without Limits or Throttling in go-libp2p - CVE-2022-23492

 

Allocation of Resources Without Limits or Throttling in go-libp2p - CVE-2022-23492

Published: December 7, 2022 / Updated: November 9, 2026


Vulnerability identifier: #VU162805
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-23492
CWE-ID: CWE-770
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows an unauthenticated remote attacker to exhaust memory and cause denial of service by forcing termination of a go-libp2p process.

The vulnerability exists due to insufficient resource limits in go-libp2p when a peer repeatedly opens streams on a multiplexer without sufficient back pressure. An unauthenticated remote attacker can connect to a node and continually open streams, triggering memory allocations until the host operating system kills the process.


Affected software

go-libp2p

How to mitigate CVE-2022-23492

Install security update from vendor's website.

go-libp2p - update to 0.18.0

External References

Related Security Bulletins