CVE-2022-23492 json
go-libp2p denial of service vulnerability from lack of resource management
published 2022-12-07 3 y ago modified 2026-06-17 4 mo ago also GHSA-j7qp-mfxf-8xjw , GO-2022-1148 , EUVD-2022-7660
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.1%
- EPSS 1.1% chance of exploitation in 30 days, percentile 64%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go github.com/libp2p/go-libp2p 0.18.0
- protocol libp2p 0.18.0
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 18 mo ago
Exploit prediction
1.05% chance of exploitation in the next 30 days, higher than 64% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/libp2p/go-libp2p | <0.18.0 |
0.18.0 |
Affected products
- libp2p go-libp2p
Classification
References
-
github.com
/libp2p/go-libp2p/commit/15d7dfbf54264ead8e6f49ca658d79c90635e2de
web, patch, third-party-advisory
-
docs.libp2p.io
/reference/dos-mitigation/
vendor-advisory
-
github.com
/libp2p/go-libp2p/security/advisories/GHSA-j7qp-mfxf-8xjw
web, mitigation, third-party-advisory, advisory
-
github.com
/libp2p/js-libp2p/security/advisories/GHSA-f44q-634c-jvwv
web
-
github.com
/libp2p/rust-libp2p/security/advisories/GHSA-jvgw-gccv-q5p8
web
-
nvd.nist.gov
/vuln/detail/CVE-2022-23492
advisory
-
docs.libp2p.io
/reference/dos-mitigation
web
-
github.com
/libp2p/go-libp2p
package
-
pkg.go.dev
/vuln/GO-2022-1148
web
Sources
- CVE List CVE-2022-23492
- GitHub Advisory GHSA-j7qp-mfxf-8xjw
- NVD CVE-2022-23492
- OSV GO-2022-1148
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.