{"id":"CVE-2020-36448","aliases":["RUSTSEC-2020-0128"],"url":"https://o3.security/vulnerability/CVE-2020-36448","summary":"Data races in cache","details":"An issue was discovered in the cache crate through 2020-11-24 for Rust. \nAffected versions of this crate unconditionally implement Send/Sync for `Cache<K>`.\nThis allows users to insert `K` that is not Send or not Sync.\n\nThis allows users to create data races by using non-Send types like `Arc<Cell<T>>` or `Rc<T>` as `K` in `Cache<K>`. It is also possible to create data races by using types like `Cell<T>` or `RefCell<T>` (types that are `Send` but not `Sync`).\nSuch data races can lead to memory corruption.\n","published":"2021-08-25T20:57:12Z","modified":"2023-11-08T04:03:45.459873Z","cvss":{"score":8.1,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":1,"affectedPackages":[{"ecosystem":"crates.io","name":"cache","fixedVersion":null}],"fix":null,"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-36448"},{"type":"WEB","url":"https://github.com/krl/cache/issues/1"},{"type":"PACKAGE","url":"https://github.com/krl/cache"},{"type":"WEB","url":"https://rustsec.org/advisories/RUSTSEC-2020-0128.html"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2023-11-08T04:03:45.459873Z"}}