CVE-2022-23486: libp2p-rust - Denial of Service
- Cve: CVE-2022-23486
- Name: libp2p-rust - Denial of Service
- Description: libp2p-rust is the official rust language Implementation of the libp2p networking stack. In versions prior to 0.45.1 an attacker node can cause a victim node to allocate a large number of small memory chunks, which can ultimately lead to the victim’s process running out of memory and thus getting killed by its operating system. When executed continuously, this can lead to a denial of service attack, especially relevant on a larger scale when run against more than one node of a libp2p based network. Users are advised to upgrade to `libp2p` `v0.45.1` or above. Users unable to upgrade should reference the DoS Mitigation page for more information on how to incorporate mitigation strategies, monitor their application, and respond to attacks: https://docs.libp2p.io/reference/dos-mitigation/.
- Impact: Victim nodes can exhaust memory leading to process termination, disrupting network services and causing denial of service.
- Remediation: Upgrade to libp2p v0.45.1 or above. Refer to the DoS Mitigation page for additional mitigation strategies.
- Vulnerability type: denial_of_service
- Vulnerability impact: denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Epss score: 0.00749
- Epss percentile: 0.55851
- Assignee: [email protected]
- Published at: 2022-12-07T21:15:10Z
- Age in days: 1448
- Modified at: 2026-06-17T04:30:13Z
- Patch available: yes
- References total: 1
- Products total: 1
- Oss: yes
- Projects total: 3
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-23486
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-400 | Uncontrolled Resource Consumption |
| CWE-770 | Allocation of Resources Without Limits or Throttling |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/libp2p/rust-libp2p/security/advisories/GHSA-jvgw-gccv-q5p8 | nvd | Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| protocol:libp2p | < 0.45.1 | no | nvd | /v1/products/protocol/libp2p |
Projects
Same in every row:
- Indexed: yes
| Repository | Link kinds | Url |
|---|---|---|
| libp2p/go-libp2p | security_advisory | /v1/repositories/libp2p/go-libp2p |
| libp2p/rust-libp2p | package, security_advisory | /v1/repositories/libp2p/rust-libp2p |
| libp2p/js-libp2p | security_advisory | /v1/repositories/libp2p/js-libp2p |
Index
- Repositories: 7
- Repositories high signal: 3
- Packages: 1
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts