{"id":"CVE-2020-35915","aliases":["CVE-2020-35915","GHSA-4hjg-cx88-g9f9","RUSTSEC-2020-0072"],"related":[],"kind":"vulnerability","state":"published","title":"Data races in futures-intrusive","summary":"An issue was discovered in the futures-intrusive crate before 0.4.0 for Rust. GenericMutexGuard allows cross-thread data races of non-Sync types.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"An issue was discovered in the futures-intrusive crate before 0.4.0 for Rust. GenericMutexGuard allows cross-thread data races of non-Sync types.","source":"cvelist"},{"lang":"en","text":"GenericMutexGuard<T> was given the Sync auto trait as long as T is Send due to its contained members. However, since the guard is supposed to represent an acquired lock and allows concurrent access to the underlying data from different threads, it should only be Sync when the underlying data is.\n\nThis is a soundness issue and allows data races, potentially leading to crashes and segfaults from safe Rust code.\n\nThe flaw was corrected by adding a T: Send + Sync bound for GenericMutexGuard's Sync trait.","format":"markdown","source":"ghsa"},{"lang":"en","text":"`GenericMutexGuard<T>` was given the `Sync` auto trait as long as `T` is `Send`\ndue to its contained members. However, since the guard is supposed to represent\nan **acquired lock** and allows concurrent access to the underlying data from\ndifferent threads, it should only be `Sync` when the underlying data is.\n\nThis is a soundness issue and allows data races, potentially leading to crashes\nand segfaults from safe Rust code.\n\nThe flaw was corrected by adding a `T: Send + Sync` bound for\n`GenericMutexGuard`'s `Sync` trait.\n\nThis bug is [similar to one](https://github.com/rust-lang/rust/issues/41622) in\n`std::sync::Mutex`.","format":"markdown","source":"rustsec"},{"lang":"es","text":"Se detectó un problema en la crate futures-intrusive versiones anteriores a 0.4.0 para Rust.&#xa0;La función GenericMutexGuard permite carreras de datos entre subprocesos de tipos non-Sync.","source":"nvd"}],"published":"2020-10-31T12:00:00.000Z","modified":"2026-06-17T03:14:35.860Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},{"scorer":"RustSec Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:L/AC:L/Au:N/C:N/I:N/A:P","score":2.1,"rating":"LOW"}],"cwes":["CWE-362"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.4.0"}],"ecosystem":"crates.io","package":"futures-intrusive","purl":"pkg:cargo/futures-intrusive","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.0.0-0","status":"affected","fixed":"0.4.0"}],"ecosystem":"crates.io","package":"futures-intrusive","purl":"pkg:cargo/futures-intrusive","source":"rustsec"},{"ranges":[{"status":"affected","fixed":"0.4.0"}],"vendor":"futures-intrusive_project","product":"futures-intrusive","cpe":"cpe:2.3:a:futures-intrusive_project:futures-intrusive:*:*:*:*:*:rust:*:*","source":"nvd"}],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2020-0072.html","tags":["advisory","exploit","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","rustsec","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-35915","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/Matthias247/futures-intrusive/issues/53","tags":["report","web"],"sources":["ghsa","rustsec"]},{"url":"https://github.com/Matthias247/futures-intrusive","tags":["package"],"sources":["ghsa"]},{"url":"https://crates.io/crates/futures-intrusive","tags":["package"],"sources":["rustsec"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-35915","url":"https://www.cve.org/CVERecord?id=CVE-2020-35915","licence":"CVE Terms of Use","modified":"2024-08-04T17:16:13.215Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-4hjg-cx88-g9f9","url":"https://github.com/advisories/GHSA-4hjg-cx88-g9f9","licence":"CC-BY-4.0","modified":"2023-11-08T04:03:39.161Z"},{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2020-0072","url":"https://rustsec.org/advisories/RUSTSEC-2020-0072.html","licence":"CC0-1.0","modified":"2023-11-08T04:03:39.161Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-35915","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-35915","licence":"Public domain","modified":"2026-06-17T03:14:35.860Z"}],"updatedAt":"2026-11-25T22:57:56.651Z","epss":{"score":0.00379,"percentile":0.33965,"date":"2026-12-01T12:00:22.000Z"}}