Advisory

RUSTSEC-2022-0084

Also known as: CVE-2022-23486, GHSA-jvgw-gccv-q5p8

Summary

libp2p Lack of resource management DoS

Details

libp2p allows a potential attacker to cause victim p2p node to run out of memory

The out of memory failure can cause crashes where libp2p is intended to be used
within large scale networks leading to potential Denial of Service (DoS) vector

Users should upgrade or reference the DoS mitigation strategies.

Severity

High Basis: CVSS v3 score 7.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Dates

Published
2022-07-12 12:00 UTC
Modified
2026-10-12 18:00 UTC

Affected packages and fixes

libp2p

crates.io · All systems

Affected

  • introduced 0.0.0-0, fixed 0.45.1 (semver)

Fixed versions

0.45.1

Fix

  • Fixed version 0.45.1
    cargo update -p libp2p --precise 0.45.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: RustSec Advisory Database · CC0-1.0

Sources & licences