CVE-2022-23486
HIGH 7.5CVSS 3.1libp2p DoS vulnerability from lack of resource management
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/.
- Published
- 7 Dec 2022
- Last modified
- 12 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-400CWE-770
- Also known as
- GHSA-jvgw-gccv-q5p8RUSTSEC-2022-0084
- Sources
- NVDJSONOSV GHSA-jvgw-gccv-q5p8JSONOSV RUSTSEC-2022-0084JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | RustSec | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | protocol | libp2pcpe:2.3:a:protocol:libp2p:*:*:*:*:*:rust:*:* |
< 0.45.1 | 0.45.1 |
| OSV | crates.io | libp2p | < 0.45.1 | 0.45.1 |
| OSV | crates.io | libp2p | >= 0.0.0-0, < 0.45.1 | 0.45.1 |
References
- https://github.com/libp2p/rust-libp2p/security/advisories/GHSA-jvgw-gccv-q5p8 · Third Party Advisory, WEB
- https://github.com/libp2p/go-libp2p/security/advisories/GHSA-j7qp-mfxf-8xjw · WEB
- https://github.com/libp2p/js-libp2p/security/advisories/GHSA-f44q-634c-jvwv · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-23486 · ADVISORY
- https://github.com/libp2p/rust-libp2p · PACKAGE
- https://rustsec.org/advisories/RUSTSEC-2022-0084.html · WEB, ADVISORY
- https://crates.io/crates/libp2p · PACKAGE
- https://github.com/libp2p/rust-libp2p/pull/2697 · WEB
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 7 Dec 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 12 Jul 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 7 Dec 2022)