{"id":"CVE-2020-36450","aliases":["RUSTSEC-2020-0130"],"url":"https://o3.security/vulnerability/CVE-2020-36450","summary":"Data races in bunch","details":"An issue was discovered in the bunch crate through 2020-11-12 for Rust. \nAffected versions of this crate unconditionally implements `Send`/`Sync` for `Bunch<T>`.\nThis allows users to insert `T: !Sync` to `Bunch<T>`. It is possible to create a data race to a `T: !Sync` by invoking the `Bunch::get()` API (which returns `&T`) from multiple threads. It is also possible to send `T: !Send` to other threads by inserting `T` inside `Bunch<T>` and sending `Bunch<T>` to another thread, allowing to create a data race by inserting types like `T = Rc<_>`.\n\nSuch data races can lead to memory corruption.","published":"2021-08-25T20:59:18Z","modified":"2023-11-08T04:03:45.582098Z","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":"bunch","fixedVersion":null}],"fix":null,"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-36450"},{"type":"WEB","url":"https://github.com/krl/bunch/issues/1"},{"type":"PACKAGE","url":"https://github.com/krl/bunch"},{"type":"WEB","url":"https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/bunch/RUSTSEC-2020-0130.md"},{"type":"WEB","url":"https://rustsec.org/advisories/RUSTSEC-2020-0130.html"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2023-11-08T04:03:45.582098Z"}}