Skip to content
OpenAdvisories
Unscored RUSTSEC-2025-0045

ConstStaticCell could have been used to pass non-Send values to another thread

Published Jul 17, 2025 · Updated Jul 17, 2025 · Assigned by RUSTSEC

Description

`ConstStaticCell<T>` could have been used to pass non-`Send` values to another thread, because `T` was not required to be `Send` while `ConstStaticCell` is `Send`.

This was corrected by introducing a `T: Send` bound.

Affected packages

EcosystemPackageAffectedFixedRecord
crates.io static_cell >= 2.0.1-0, < 2.1.1 2.1.1 RUSTSEC-2025-0045

References