CVE-2022-23486: libp2p DoS vulnerability from lack of resource management
7.5
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.21532%
CWE
Published
12/7/2022
Updated
7/14/2023
KEV Status
No
Technology
Rust
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| libp2p | rust | <= 0.45.0 | 0.45.1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability fundamentally stems from missing resource management in three key areas: 1) Stream multiplexers (mplex/yamux) didn't enforce per-connection stream limits 2) Connection management lacked proper resource caps 3) Protocol handlers allowed memory-intensive operations without throttling. While exact function names aren't specified in advisories, the architectural components and CWE mappings (CWE-400/770) clearly indicate these subsystems as vulnerable points. The high confidence comes from the explicit mention of stream multiplexers and connection management in vulnerability details, while protocol buffer handling is inferred from described attack variations.