GHSA-rr8g-9fpq-6wmg
JSON

low

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

Severity
low CVSS:4.0 by GitHub
Published
Last changed
Also known as
RUSTSEC-2025-0023

Description

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.

Affected

Product or packageVersionsReported by
tokio (crates.io)from 1.44.0 before 1.44.2, from 0.2.5 before 1.38.2, from 1.39.0 before 1.43.1, from 1.39.0 before 1.42.1, from 1.43.0 before 1.43.1GitHub Advisory Database, RustSec Advisory Database

Classification

References

Sources

SourceRecordLicence
GitHub Advisory DatabaseGHSA-rr8g-9fpq-6wmg changed 2026-09-10CC-BY-4.0
RustSec Advisory DatabaseRUSTSEC-2025-0023 changed 2025-10-28CC0-1.0