{"id":"RUSTSEC-2025-0045","summary":"ConstStaticCell could have been used to pass non-Send values to another thread","details":"`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.","modified":"2025-07-17T14:38:11Z","published":"2025-07-17T12:00:00Z","database_specific":{"license":"CC0-1.0"},"references":[{"type":"PACKAGE","url":"https://crates.io/crates/static_cell"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2025-0045.html"},{"type":"REPORT","url":"https://github.com/embassy-rs/static-cell/issues/19"}],"affected":[{"package":{"name":"static_cell","ecosystem":"crates.io","purl":"pkg:cargo/static_cell"},"ranges":[{"type":"SEMVER","events":[{"introduced":"2.0.1-0"},{"fixed":"2.1.1"}]}],"ecosystem_specific":{"affected_functions":null,"affects":{"arch":[],"functions":["static_cell::ConstStaticCell::new"],"os":[]}},"database_specific":{"informational":"unsound","source":"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2025-0045.json","categories":["memory-exposure","memory-corruption"],"cvss":null}}],"schema_version":"1.7.3"}