Description (CNA)
nimiq-libp2p is a Nimiq network implementation based on libp2p. Prior to version 1.3.0, `MessageCodec::read_request` and `read_response` call `read_to_end()` on inbound substreams, so a remote peer can send only a partial frame and keep the substream open. because `Behaviour::new` also sets `with_max_concurrent_streams(1000)`, the node exposes a much larger stalled-slot budget than the library default. The patch for this vulnerability is formally released as part of v1.3.0. No known workarounds are available.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| nimiq / network-libp2p | affected < 1.3.0 |
CWE
CWE-770
References
- https://github.com/nimiq/core-rs-albatross/security/advisories/GHSA-gh7r-qh4p-q4fr
- https://github.com/nimiq/core-rs-albatross/commit/c021a5337b808c73571b44999f9753051bac7508
- https://github.com/nimiq/core-rs-albatross/releases/tag/v1.3.0
ADP enrichment
No English description supplied.
No references supplied.