libp2p: CPU DoS via oversized IHAVE and IWANT control message arrays
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| libp2p | js-libp2p | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Libp2p | Libp2p |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-cwc9-cp4j-mcvv | libp2p: CPU DoS via oversized IHAVE and IWANT control message arrays |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.630% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Libp2p
Libp2p libp2p |
|
| Vendors & Products |
Libp2p
Libp2p libp2p |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | libp2p is a JavaScript Implementation of libp2p networking stack. Prior to 16.0.0, @libp2p/gossipsub defaultDecodeRpcLimits set maxIhaveMessageIDs and maxIwantMessageIDs to Infinity, allowing oversized IHAVE and IWANT control message arrays in message/decodeRpc.ts and gossipsub.ts to synchronously iterate roughly 180,000 message IDs per 4 MB frame and block the Node.js event loop. This issue is fixed in version 16.0.0. | |
| Title | libp2p: CPU DoS via oversized IHAVE and IWANT control message arrays | |
| Weaknesses | CWE-770 | |
| References |
| |
| Metrics |
cvssV3_1
|