{"id":"RUSTSEC-2025-0045","aliases":[],"status":"published","title":"ConstStaticCell could have been used to pass non-Send values to another thread","description":"`ConstStaticCell\u003cT\u003e` 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.","facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"published":"2025-07-17T12:00:00Z","modified":"2025-07-17T14:38:11Z","fixes":[{"ecosystem":"crates.io","package":"static_cell","fixed_in":["2.1.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"crates.io","package":"static_cell","ranges":[{"type":"SEMVER","events":[{"introduced":"2.0.1-0"},{"fixed":"2.1.1"}]}]}],"references":[{"url":"https://crates.io/crates/static_cell","tags":["package"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2025-0045.html","tags":["advisory"]},{"url":"https://github.com/embassy-rs/static-cell/issues/19","tags":["report"]}],"sources":{"osv":[{"id":"RUSTSEC-2025-0045","title":"ConstStaticCell could have been used to pass non-Send values to another thread","description":"`ConstStaticCell\u003cT\u003e` 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.","status":"published","published":"2025-07-17T12:00:00Z","modified":"2025-07-17T14:38:11Z","updated_at":"2026-11-02T15:53:39.971022Z"}]}}
