RUSTSEC-2025-0023
LOWTokio broadcast channel calls clone in parallel, but does not require `Sync`
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
- 7 Apr 2025
- Last modified
- 10 Sep 2026
- Weakness
- CWE-664
- Also known as
- GHSA-rr8g-9fpq-6wmg
- Sources
- OSV GHSA-rr8g-9fpq-6wmgJSONOSVJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | crates.io | tokio | >= 1.44.0, < 1.44.2 | 1.44.2 |
| OSV | crates.io | tokio | >= 0.2.5, < 1.38.2 | 1.38.2 |
| OSV | crates.io | tokio | >= 1.39.0, < 1.43.1 | 1.43.1 |
| OSV | crates.io | tokio | >= 0.2.5, < 1.38.2; >= 1.39.0, < 1.42.1; >= 1.43.0, < 1.43.1; >= 1.44.0, < 1.44.2 | 1.38.2, 1.42.1, 1.43.1, 1.44.2 |
References
- https://github.com/tokio-rs/tokio/pull/7232 · WEB
- https://github.com/tokio-rs/tokio · PACKAGE
- https://rustsec.org/advisories/RUSTSEC-2025-0023.html · WEB, ADVISORY
- https://crates.io/crates/tokio · PACKAGE
History
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 7 Apr 2025)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 7 Apr 2025)