{"id":"RUSTSEC-2025-0045","aliases":["RUSTSEC-2025-0045"],"related":[],"kind":"vulnerability","state":"published","title":"ConstStaticCell could have been used to pass non-Send values to another thread","summary":"`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`.\n\nThis was corrected by introducing a `T: Send` bound.","summaryFormat":"markdown","summarySource":"rustsec","descriptions":[{"lang":"en","text":"`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`.\n\nThis was corrected by introducing a `T: Send` bound.","format":"markdown","source":"rustsec"}],"published":"2025-07-17T12:00:00.000Z","modified":"2025-07-17T14:38:11.000Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"semver","introduced":"2.0.1-0","status":"affected","fixed":"2.1.1"}],"ecosystem":"crates.io","package":"static_cell","purl":"pkg:cargo/static_cell","source":"rustsec"}],"references":[{"url":"https://crates.io/crates/static_cell","tags":["package"],"sources":["rustsec"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2025-0045.html","tags":["advisory"],"sources":["rustsec"]},{"url":"https://github.com/embassy-rs/static-cell/issues/19","tags":["report"],"sources":["rustsec"]}],"credits":[],"sources":[{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2025-0045","url":"https://rustsec.org/advisories/RUSTSEC-2025-0045.html","licence":"CC0-1.0","modified":"2025-07-17T14:38:11.000Z"}],"updatedAt":"2026-11-25T22:56:43.260Z"}