{"id":"CVE-2020-36203","aliases":["RUSTSEC-2020-0094"],"url":"https://o3.security/vulnerability/CVE-2020-36203","summary":"Data races in reffers","details":"ARefss<'a, V> is a type that is assumed to contain objects that are Send + Sync.\n\nIn the affected versions of this crate, Send/Sync traits are unconditionally implemented for ARefss<'a, V>.\n\nBy using the ARefss::map() API, we can insert a !Send or !Sync object into ARefss<'a, V>. After that, it is possible to create a data race to the inner object of ARefss<'a, V>, which can lead to undefined behavior & memory corruption.\n\nThe flaw was corrected in commit `6dd7ca0` by adding trait bound V: Send + Sync to ARefss::map() API.","published":"2021-08-25T20:51:40Z","modified":"2023-11-08T04:03:41.295805Z","cvss":{"score":4.7,"severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":1,"affectedPackages":[{"ecosystem":"crates.io","name":"reffers","fixedVersion":"0.6.1"}],"fix":{"url":"https://github.com/diwic/reffers-rs/commit/6dd7ca0d50f2464df708975cdafcfaeeb6d41c66","label":"diwic/reffers-rs@6dd7ca0"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-36203"},{"type":"WEB","url":"https://github.com/diwic/reffers-rs/issues/7"},{"type":"WEB","url":"https://github.com/diwic/reffers-rs/commit/6dd7ca0d50f2464df708975cdafcfaeeb6d41c66"},{"type":"PACKAGE","url":"https://github.com/diwic/reffers-rs"},{"type":"WEB","url":"https://rustsec.org/advisories/RUSTSEC-2020-0094.html"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2023-11-08T04:03:41.295805Z"}}