High severity · published Dec 8, 2022
CVE-2022-23492
go-libp2p is the offical libp2p implementation in the Go programming language
7.5
CVSS
1.1%
EPSS
No
On KEV
Description
go-libp2p is the offical libp2p implementation in the Go programming language. Version `0.18.0` and older of go-libp2p are vulnerable to targeted resource exhaustion attacks. These attacks target libp2p’s connection, stream, peer, and memory management. An attacker can cause the allocation of large amounts of memory, ultimately leading to the process getting killed by the host’s operating system. While a connection manager tasked with keeping the number of connections within manageable limits has been part of go-libp2p, this component was designed to handle the regular churn of peers, not a targeted resource exhaustion attack. Users are advised to upgrade their version of go-libp2p to version `0.18.1` or newer. Users unable to upgrade may consult the denial of service (dos) mitigation page for more information on how to incorporate mitigation strategies, monitor your application, and respond to attacks.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.1% · higher than 64% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
LI
Libp2p · Protocol
before 0.18.0 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2022-23492
CVE.org
https://www.cve.org/CVERecord?id=CVE-2022-23492
Vendor Advisory
https://docs.libp2p.io/reference/dos-mitigation/
Patch
https://github.com/libp2p/go-libp2p/commit/15d7dfbf54264ead8e6f49ca658d79c90635e2de
Mitigation
https://github.com/libp2p/go-libp2p/security/advisories/GHSA-j7qp-mfxf-8xjw
More from Libp2p
8.2
CVE-2026-35457
libp2p-rust has unbounded rendezvous DISCOVER cookies enable remote memory exhaustion
7.5
CVE-2026-35405
libp2p-rendezvous: Unlimited namespace registrations per peer enables OOM DoS on rendezvous servers
7.5
CVE-2023-40583
libp2p is a networking stack and library modularized out of The IPFS Project, and bundled separately for other tools to use
7.5
CVE-2022-23487
js-libp2p is the official javascript Implementation of libp2p networking stack
7.5
CVE-2022-23486
libp2p-rust is the official rust language Implementation of the libp2p networking stack
