tokio
Affected
- introduced
1.44.0, fixed1.44.2(semver)
Fixed versions
1.44.2
Fix
- Fixed version
1.44.2cargo update -p tokio --precise 1.44.2
Advisory
Also known as: RUSTSEC-2025-0023
Tokio 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.
Low Basis: The source's own band: LOW
1.44.0, fixed 1.44.2 (semver)1.44.2
1.44.2cargo update -p tokio --precise 1.44.20.2.5, fixed 1.38.2 (semver)1.38.2
1.38.2cargo update -p tokio --precise 1.38.21.39.0, fixed 1.43.1 (semver)1.43.1
1.43.1cargo update -p tokio --precise 1.43.1Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0