CVE-2023-40583
HIGH7.5EPSS 0.40%Out-of-memory vulnerability in github.com/libp2p/go-libp2p
Published: 8/24/2023Modified: 5/20/2024
Description
A malicious actor can store an arbitrary amount of data in the memory of a remote node by sending the node a message with a signed peer record. Signed peer records from randomly generated peers can be sent by a malicious actor. This memory does not get garbage collected and so the remote node can run out of memory (OOM).
Affected packages (2)
- Go/github.com/libp2p/go-libp2pfrom 0, < 0.27.4
- Go/github.com/libp2p/go-libp2pfrom 0, < 0.27.4
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
References (6)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2023-40583
- PATCHhttps://github.com/libp2p/go-libp2p
- WEBhttps://github.com/libp2p/go-libp2p/commit/45d3c6fff662ddd6938982e7e9309ad5fa2ad8dd
- WEBhttps://github.com/libp2p/go-libp2p/releases/tag/v0.27.4
- WEBhttps://github.com/libp2p/go-libp2p/releases/tag/v0.27.7
- WEBhttps://github.com/libp2p/go-libp2p/security/advisories/GHSA-gcq9-qqwx-rgj3