{ "schema_version": "1.4.0", "id": "GHSA-g78p-g85h-q6ww", "modified": "2021-08-24T18:31:50Z", "published": "2021-08-25T20:57:12Z", "aliases": [ "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`.\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>` or `Rc` as `K` in `Cache`. It is also possible to create data races by using types like `Cell` or `RefCell` (types that are `Send` but not `Sync`).\nSuch data races can lead to memory corruption.\n", "severity": [ { "type": "CVSS_V3", "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H" } ], "affected": [ { "package": { "ecosystem": "crates.io", "name": "cache" }, "ranges": [ { "type": "ECOSYSTEM", "events": [ { "introduced": "0" }, { "last_affected": "0.2.0" } ] } ] } ], "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" } ], "database_specific": { "cwe_ids": [ "CWE-362", "CWE-77" ], "severity": "HIGH", "github_reviewed": true, "github_reviewed_at": "2021-08-18T20:30:56Z", "nvd_published_at": "2021-08-08T06:15:00Z" } }