{ "schema_version": "1.4.0", "id": "GHSA-jwph-qp5h-f9wj", "modified": "2021-08-24T18:33:33Z", "published": "2021-08-25T20:59:18Z", "aliases": [ "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`.\nThis allows users to insert `T: !Sync` to `Bunch`. 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` and sending `Bunch` to another thread, allowing to create a data race by inserting types like `T = Rc<_>`.\n\nSuch data races can lead to memory corruption.", "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": "bunch" }, "ranges": [ { "type": "ECOSYSTEM", "events": [ { "introduced": "0" }, { "last_affected": "0.1.0" } ] } ] } ], "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" } ], "database_specific": { "cwe_ids": [ "CWE-362", "CWE-77" ], "severity": "HIGH", "github_reviewed": true, "github_reviewed_at": "2021-08-09T21:34:27Z", "nvd_published_at": "2021-08-08T06:15:00Z" } }