NetSight
low2.7No CVE yet

GHSA-rr8g-9fpq-6wmg

Tokio broadcast channel calls clone in parallel, but does not require `Sync`

Impact

The broadcast channel internally calls `clone` on the stored value when receiving it, and only requires `T:Send`. This means that using the broadcast channel with values that are `Send` but not `Sync` can trigger unsoundness if the `clone` implementation makes use of the value being `!Sync`. Thank you to Austin Bonander for finding and reporting this issue.

An attacker can exploit this over the network, without logging in, without any action by a user. If it succeeds: low risk of data or systems being changed.

Affected packages

EcosystemPackageAffectedFixed in
rusttokio>= 1.44.0, < 1.44.21.44.2
rusttokio>= 0.2.5, < 1.38.21.38.2
rusttokio>= 1.39.0, < 1.43.11.43.1

Weakness classification

References