Vulnerability GHSA-rr8g-9fpq-6wmg

Low Risk
LOW RISK
CVSS Score: 3.0
Score Range: < 4.0
Low severity vulnerabilities (CVSS < 4.0). Hygiene issues that can accumulate but pose lower immediate risk.
1 year ago
April 07, 2025 at 09:12 PM UTC
Tokio broadcast channel calls clone in parallel, but does not require `Sync`
0.2.5 - 1.38.1 and 1.39.0 - 1.43.0 and 1.44.0 - 1.44.1
0.2.5 - 1.38.1 and 1.39.0 - 1.43.0 and 1.44.0 - 1.44.1

Summary

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

Details

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.

Impacted packages

Timeline

Published
1 year ago
April 07, 2025 at 09:12 PM UTC
Fixed (1.38.2)
1 year ago
April 03, 2025 at 05:39 PM UTC
Fixed (1.43.1)
1 year ago
April 04, 2025 at 11:02 PM UTC
Fixed (1.44.2)
1 year ago
April 05, 2025 at 03:17 PM UTC
Last Modified
1 month ago
September 10, 2026 at 03:50 AM UTC