CVE-2023-40583

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:protocol:libp2p:*:*:*:*:*:go:*:*

History

21 Nov 2024, 08:19

Type Values Removed Values Added
Summary
  • (es) libp2p es una pila de red y una biblioteca modularizada a partir del Proyecto IPFS, y empaquetada por separado para que otras herramientas puedan utilizarla. En go-libp2p, mediante el uso de registros de pares firmados, un actor malicioso puede almacenar una cantidad arbitraria de datos en la memoria de un nodo remoto. Esta memoria no se recoge de la basura, por lo que la víctima puede quedarse sin memoria y bloquearse. Si los usuarios de go-libp2p en producción no monitorizan el consumo de memoria a lo largo del tiempo, podría tratarse de un ataque silencioso, es decir, el atacante podría hacer caer nodos durante un periodo de tiempo (el tiempo depende de los recursos del nodo, es decir, un nodo go-libp2p en un servidor virtual con 4 gb de memoria tarda unos 90 segundos en caerse; en un servidor más grande, podría tardar un poco más). Este problema fue corregido en la versión 0.27.4.
References () https://github.com/libp2p/go-libp2p/commit/45d3c6fff662ddd6938982e7e9309ad5fa2ad8dd - Patch () https://github.com/libp2p/go-libp2p/commit/45d3c6fff662ddd6938982e7e9309ad5fa2ad8dd - Patch
References () https://github.com/libp2p/go-libp2p/releases/tag/v0.27.4 - Release Notes () https://github.com/libp2p/go-libp2p/releases/tag/v0.27.4 - Release Notes
References () https://github.com/libp2p/go-libp2p/releases/tag/v0.27.7 - Release Notes () https://github.com/libp2p/go-libp2p/releases/tag/v0.27.7 - Release Notes
References () https://github.com/libp2p/go-libp2p/security/advisories/GHSA-gcq9-qqwx-rgj3 - Vendor Advisory () https://github.com/libp2p/go-libp2p/security/advisories/GHSA-gcq9-qqwx-rgj3 - Vendor Advisory

01 Sep 2023, 13:10

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.5
CPE cpe:2.3:a:protocol:libp2p:*:*:*:*:*:go:*:*
References (MISC) https://github.com/libp2p/go-libp2p/releases/tag/v0.27.7 - (MISC) https://github.com/libp2p/go-libp2p/releases/tag/v0.27.7 - Release Notes
References (MISC) https://github.com/libp2p/go-libp2p/security/advisories/GHSA-gcq9-qqwx-rgj3 - (MISC) https://github.com/libp2p/go-libp2p/security/advisories/GHSA-gcq9-qqwx-rgj3 - Vendor Advisory
References (MISC) https://github.com/libp2p/go-libp2p/commit/45d3c6fff662ddd6938982e7e9309ad5fa2ad8dd - (MISC) https://github.com/libp2p/go-libp2p/commit/45d3c6fff662ddd6938982e7e9309ad5fa2ad8dd - Patch
References (MISC) https://github.com/libp2p/go-libp2p/releases/tag/v0.27.4 - (MISC) https://github.com/libp2p/go-libp2p/releases/tag/v0.27.4 - Release Notes
First Time Protocol libp2p
Protocol
CWE CWE-400 NVD-CWE-noinfo

25 Aug 2023, 21:15

Type Values Removed Values Added
New CVE

Information

Published : 2023-08-25 21:15

Updated : 2024-11-21 08:19


NVD link : CVE-2023-40583

Mitre link : CVE-2023-40583

CVE.ORG link : CVE-2023-40583


JSON object : View

Products Affected

protocol

  • libp2p
CWE
CWE-400

Uncontrolled Resource Consumption

NVD-CWE-noinfo