{"id":"RUSTSEC-2020-0113","summary":"AtomicOption should have Send + Sync bound on its type argument.","details":"In the affected versions of this crate,\n`AtomicOption\u003cT\u003e` unconditionally implements `Sync`.\n\nThis allows programmers to move non-Sync types across thread boundaries (e.g. `Rc\u003cT\u003e`, `Arc\u003cCell\u003cT\u003e\u003e`), which can lead to data races and undefined behavior. \nIt is also possible to send non-Send types like `std::sync::MutexGuard` to other threads, which can lead to undefined behavior.","aliases":["CVE-2020-36219","GHSA-8gf5-q9p9-wvmc"],"modified":"2023-11-08T04:03:42.214536Z","published":"2020-10-31T12:00:00Z","database_specific":{"license":"CC0-1.0"},"references":[{"type":"PACKAGE","url":"https://crates.io/crates/atomic-option"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2020-0113.html"},{"type":"REPORT","url":"https://github.com/reem/rust-atomic-option/issues/4"}],"affected":[{"package":{"name":"atomic-option","ecosystem":"crates.io","purl":"pkg:cargo/atomic-option"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"}]}],"ecosystem_specific":{"affected_functions":null,"affects":{"os":[],"functions":[],"arch":[]}},"database_specific":{"cvss":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2020-0113.json","categories":["memory-corruption","thread-safety"],"informational":null}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}