7.5

CVE-2023-40583: libp2p go-libp2p Uncontrolled Resource Consumption

CVSS: 7.5v3.1HighModified
AliasesGHSA-gcq9-qqwx-rgj3GO-2023-2024
Published 25-08-2023Last modified 02-10-2024

Vulnerability summary

CVE-2023-40583 is a high (CVSS 7.5) Uncontrolled Resource Consumption vulnerability in libp2p go-libp2p. EPSS estimates a 0.95% chance of exploitation in the next 30 days, higher than 60.7% of scored vulnerabilities.

Overall risk
30/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.5/10
010
High · v3.1 (CVE.org)
EPSS score
0.95%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 25-08-2023
    PublishedVulnerability first disclosed.
  2. 02-10-2024
    Last modifiedVulnerability information updated.

Description

libp2p is a networking stack and library modularized out of The IPFS Project, and bundled separately for other tools to use. In go-libp2p, by using signed peer records a malicious actor can store an arbitrary amount of data in a remote node’s memory. This memory does not get garbage collected and so the victim can run out of memory and crash. If users of go-libp2p in production are not monitoring memory consumption over time, it could be a silent attack i.e. the attacker could bring down nodes over a period of time (how long depends on the node resources i.e. a go-libp2p node on a virtual server with 4 gb of memory takes about 90 sec to bring down; on a larger server, it might take a bit longer.) This issue was patched in version 0.27.4.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.95%

Chance of exploitation in the next 30 days

Percentile

61%

Versus all other CVEs

30-day change

0.00 pp

From 0.95% on 20-09-2026

20-09-202620-10-2026
EPSS score
0.95%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Github.com/libp2p1 product
  • go-libp2p< 0.27.4
Libp2p1 product
Protocol1 product

3 vendors · 3 products

References

6 links