Security mailing lists by PureSourceCode

CVE-2022-23486

HIGH 7.5CVSS 3.1

libp2p 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

SourceScored byVersionScoreVector / 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

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD protocol libp2p
cpe: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

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)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.