Security mailing lists by PureSourceCode

RUSTSEC-2025-0023

LOW

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.

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

SourceScored byVersionScoreVector / 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

SourceVendor / ecosystemProduct / packageAffected versionsFixed 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

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)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.