Files
vuln-osv/data/crates.io/RUSTSEC-2020-0128.json
T

1 line
1.5 KiB
JSON

{"schema_version":"1.7.3","id":"RUSTSEC-2020-0128","published":"2020-11-24T12:00:00Z","modified":"2023-11-08T04:03:45.459873Z","aliases":["CVE-2020-36448","GHSA-g78p-g85h-q6ww"],"summary":"Cache<K>: Send/Sync impls needs trait bounds on `K`","details":"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.","affected":[{"package":{"name":"cache","ecosystem":"crates.io","purl":"pkg:cargo/cache"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"}]}],"ecosystem_specific":{"affected_functions":null,"affects":{"arch":[],"functions":[],"os":[]}},"database_specific":{"categories":["memory-corruption","thread-safety"],"cvss":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","informational":null,"source":"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2020-0128.json"}}],"references":[{"type":"PACKAGE","url":"https://crates.io/crates/cache"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2020-0128.html"},{"type":"REPORT","url":"https://github.com/krl/cache/issues/1"}],"database_specific":{"license":"CC0-1.0"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}