libp2p-gossipsub: Gossipsub PRUNE Backoff Heartbeat Instant Overflow
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 | rust-libp2p | affected |
|
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Libp2p | Rust-libp2p |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-xqmp-fxgv-xvq5 | libp2p-gossipsub: Remote crash via unchecked Instant overflow in heartbeat backoff expiry handling |
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.583% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Protocol
Protocol libp2p-gossipsub |
|
| CPEs | cpe:2.3:a:protocol:libp2p-gossipsub:*:*:*:*:*:rust:*:* | |
| Vendors & Products |
Libp2p libp2p-gossipsub
|
Protocol
Protocol libp2p-gossipsub |
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Libp2p libp2p-gossipsub
|
|
| CPEs | cpe:2.3:a:libp2p:libp2p-gossipsub:*:*:*:*:*:rust:*:* | |
| Vendors & Products |
Libp2p libp2p-gossipsub
|
|
| Metrics |
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Libp2p
Libp2p rust-libp2p |
|
| Vendors & Products |
Libp2p
Libp2p rust-libp2p |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | libp2p-rust is the official rust language Implementation of the libp2p networking stack. Prior to version 0.49.4, the Rust libp2p Gossipsub implementation contains a remotely reachable panic in backoff expiry handling. After a peer sends a crafted PRUNE control message with an attacker-controlled, near-maximum backoff value, the value is accepted and stored as an Instant near the representable upper bound. On a later heartbeat, the implementation performs unchecked Instant + Duration arithmetic (backoff_time + slack), which can overflow and panic with: overflow when adding duration to instant. This issue is reachable from any Gossipsub peer over normal TCP + Noise + mplex/yamux connectivity and requires no further authentication beyond becoming a protocol peer. This issue has been patched in version 0.49.4. | |
| Title | libp2p-gossipsub: Gossipsub PRUNE Backoff Heartbeat Instant Overflow | |
| Weaknesses | CWE-190 CWE-617 |
|
| References |
| |
| Metrics |
cvssV4_0
|