NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Rust (crates.io)

GHSA-rr8g-9fpq-6wmg: Tokio broadcast channel calls clone in parallel, but does not require `Sync`

lowCVSS 4.0 2.7

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.

Published Apr 7, 2025

Affected packages

tokio

Ecosystem
Rust (crates.io)
Affected
>= 1.44.0, < 1.44.2
Fixed in
1.44.2
Check
cargo tree -i tokio

tokio

Ecosystem
Rust (crates.io)
Affected
>= 0.2.5, < 1.38.2
Fixed in
1.38.2
Check
cargo tree -i tokio

tokio

Ecosystem
Rust (crates.io)
Affected
>= 1.39.0, < 1.43.1
Fixed in
1.43.1
Check
cargo tree -i tokio

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Rust (crates.io) vulnerabilities

All Rust (crates.io) entries