{"id":"CVE-2020-36450","aliases":["CVE-2020-36450","GHSA-jwph-qp5h-f9wj","RUSTSEC-2020-0130"],"related":[],"kind":"vulnerability","state":"published","title":"Data races in bunch","summary":"An issue was discovered in the bunch crate through 2020-11-12 for Rust. There are unconditional implementations of Send and Sync for Bunch<T>.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"An issue was discovered in the bunch crate through 2020-11-12 for Rust. There are unconditional implementations of Send and Sync for Bunch<T>.","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"},{"lang":"en","text":"Affected 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.","format":"markdown","source":"rustsec"},{"lang":"es","text":"Se ha detectado un problema en la crate bunch hasta el 12-11-2020 para Rust. Se presentan implementaciones incondicionales de Send y Sync para la función Bunch(T)","source":"nvd"}],"published":"2020-11-12T12:00:00.000Z","modified":"2026-06-17T03:15:31.080Z","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.1.0"}],"ecosystem":"crates.io","package":"bunch","purl":"pkg:cargo/bunch","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.0.0-0","status":"affected"}],"ecosystem":"crates.io","package":"bunch","purl":"pkg:cargo/bunch","source":"rustsec"},{"ranges":[{"status":"affected","lastAffected":"2020-11-12"}],"vendor":"bunch_project","product":"bunch","cpe":"cpe:2.3:a:bunch_project:bunch:*:*:*:*:*:rust:*:*","source":"nvd"}],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2020-0130.html","tags":["advisory","exploit","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/bunch/RUSTSEC-2020-0130.md","tags":["third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-36450","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/krl/bunch/issues/1","tags":["report","web"],"sources":["ghsa","rustsec"]},{"url":"https://github.com/krl/bunch","tags":["package"],"sources":["ghsa"]},{"url":"https://crates.io/crates/bunch","tags":["package"],"sources":["rustsec"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-36450","url":"https://www.cve.org/CVERecord?id=CVE-2020-36450","licence":"CVE Terms of Use","modified":"2024-08-04T17:30:08.094Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-jwph-qp5h-f9wj","url":"https://github.com/advisories/GHSA-jwph-qp5h-f9wj","licence":"CC-BY-4.0","modified":"2023-11-08T04:03:45.582Z"},{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2020-0130","url":"https://rustsec.org/advisories/RUSTSEC-2020-0130.html","licence":"CC0-1.0","modified":"2023-11-08T04:03:45.582Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-36450","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-36450","licence":"Public domain","modified":"2026-06-17T03:15:31.080Z"}],"updatedAt":"2026-11-25T22:57:58.288Z","epss":{"score":0.01249,"percentile":0.70215,"date":"2026-12-01T12:00:22.000Z"}}