From 52ce3729d854f8850436d3a19ab6f2f315622ea6 Mon Sep 17 00:00:00 2001 From: "pinkforest(she/her)" <36498018+pinkforest@users.noreply.github.com> Date: Thu, 2 Feb 2023 22:22:26 +1100 Subject: [PATCH] Add libp2p DoS (#1555) --- crates/libp2p/RUSTSEC-0000-0000.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 crates/libp2p/RUSTSEC-0000-0000.md diff --git a/crates/libp2p/RUSTSEC-0000-0000.md b/crates/libp2p/RUSTSEC-0000-0000.md new file mode 100644 index 00000000..4159701c --- /dev/null +++ b/crates/libp2p/RUSTSEC-0000-0000.md @@ -0,0 +1,21 @@ +```toml +[advisory] +id = "RUSTSEC-0000-0000" +package = "libp2p" +date = "2022-07-12" +url = "https://github.com/libp2p/rust-libp2p/security/advisories/GHSA-jvgw-gccv-q5p8" +aliases = ["CVE-2022-23486", "GHSA-jvgw-gccv-q5p8"] +categories = ["denial-of-service"] +cvss = "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H" + +[versions] +patched = [">= 0.45.1"] +``` +# libp2p Lack of resource management DoS + +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](https://docs.libp2p.io/reference/dos-mitigation/).