{"id":"CVE-2020-36448","aliases":["CVE-2020-36448","GHSA-g78p-g85h-q6ww","RUSTSEC-2020-0128"],"related":[],"kind":"vulnerability","state":"published","title":"Data races in cache","summary":"An issue was discovered in the cache crate through 2020-11-24 for Rust. There are unconditional implementations of Send and Sync for Cache<K>.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"An issue was discovered in the cache crate through 2020-11-24 for Rust. There are unconditional implementations of Send and Sync for Cache<K>.","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"},{"lang":"en","text":"Affected 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.","format":"markdown","source":"rustsec"},{"lang":"es","text":"Se ha detectado un problema en la crate cache hasta el 24-11-2020 para Rust. Se presentan implementaciones incondicionales de Send y Sync para la función Cache(K)","source":"nvd"}],"published":"2020-11-24T12:00:00.000Z","modified":"2026-06-17T03:15:30.827Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"},{"scorer":"RustSec Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","score":6.8,"rating":"MEDIUM"}],"cwes":["CWE-77","CWE-362"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"0.2.0"}],"ecosystem":"crates.io","package":"cache","purl":"pkg:cargo/cache","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.0.0-0","status":"affected"}],"ecosystem":"crates.io","package":"cache","purl":"pkg:cargo/cache","source":"rustsec"},{"ranges":[{"status":"affected","lastAffected":"2020-11-24"}],"vendor":"cache_project","product":"cache","cpe":"cpe:2.3:a:cache_project:cache:*:*:*:*:*:rust:*:*","source":"nvd"}],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2020-0128.html","tags":["advisory","exploit","issue-tracking","patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","rustsec","nvd"]},{"url":"https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/cache/RUSTSEC-2020-0128.md","tags":["third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-36448","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/krl/cache/issues/1","tags":["report","web"],"sources":["ghsa","rustsec"]},{"url":"https://github.com/krl/cache","tags":["package"],"sources":["ghsa"]},{"url":"https://crates.io/crates/cache","tags":["package"],"sources":["rustsec"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-36448","url":"https://www.cve.org/CVERecord?id=CVE-2020-36448","licence":"CVE Terms of Use","modified":"2024-08-04T17:30:08.171Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-g78p-g85h-q6ww","url":"https://github.com/advisories/GHSA-g78p-g85h-q6ww","licence":"CC-BY-4.0","modified":"2023-11-08T04:03:45.459Z"},{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2020-0128","url":"https://rustsec.org/advisories/RUSTSEC-2020-0128.html","licence":"CC0-1.0","modified":"2023-11-08T04:03:45.459Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-36448","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-36448","licence":"Public domain","modified":"2026-06-17T03:15:30.827Z"}],"updatedAt":"2026-11-25T22:57:58.287Z","epss":{"score":0.01098,"percentile":0.66557,"date":"2026-12-01T12:00:22.000Z"}}