{"id":"CVE-2020-36460","aliases":["CVE-2020-36460","GHSA-mxv6-q98x-h958","RUSTSEC-2020-0140"],"related":[],"kind":"vulnerability","state":"published","title":"Data races in model","summary":"An issue was discovered in the model crate through 2020-11-10 for Rust. The Shared data structure has an implementation of the Send and Sync traits without regard for the inner type.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"An issue was discovered in the model crate through 2020-11-10 for Rust. The Shared data structure has an implementation of the Send and Sync traits without regard for the inner type.","source":"cvelist"},{"lang":"en","text":"`Shared` data structure in `model` crate implements `Send` and `Sync` traits regardless of the inner type.\nThis allows safe Rust code to trigger a data race, which is undefined behavior in Rust.\n\nUsers are advised to treat `Shared` as an unsafe type.\nIt should not be used outside of the testing context,\nand care must be taken so that the testing code does not have a data race\nbesides a race condition that is expected to be caught by the test.","format":"markdown","source":"ghsa"},{"lang":"en","text":"`Shared` data structure in `model` crate implements `Send` and `Sync` traits regardless of the inner type.\nThis allows safe Rust code to trigger a data race, which is undefined behavior in Rust.\n\nUsers are advised to treat `Shared` as an unsafe type.\nIt should not be used outside of the testing context,\nand care must be taken so that the testing code does not have a data race\nbesides a race condition that is expected to be caught by the test.\n\nCheck [the Rustonomicon](https://doc.rust-lang.org/nomicon/races.html) for the difference between\na data race and a general race condition.","format":"markdown","source":"rustsec"},{"lang":"es","text":"Se ha detectado un problema en la crate model hasta el 10-11-2020 para Rust. La estructura de datos Shared presenta una implementación de los rasgos Send y Sync sin tener en cuenta el tipo interno","source":"nvd"}],"published":"2020-11-10T12:00:00.000Z","modified":"2026-06-17T03:15:32.363Z","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-362","CWE-843"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"0.1.2"}],"ecosystem":"crates.io","package":"model","purl":"pkg:cargo/model","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.0.0-0","status":"affected"}],"ecosystem":"crates.io","package":"model","purl":"pkg:cargo/model","source":"rustsec"},{"ranges":[{"status":"affected","lastAffected":"2020-11-10"}],"vendor":"model_project","product":"model","cpe":"cpe:2.3:a:model_project:model:*:*:*:*:*:rust:*:*","source":"nvd"}],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2020-0140.html","tags":["advisory","exploit","issue-tracking","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/model/RUSTSEC-2020-0140.md","tags":["third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-36460","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/spacejam/model/issues/3","tags":["report","web"],"sources":["ghsa","rustsec"]},{"url":"https://github.com/spacejam/model","tags":["package"],"sources":["ghsa"]},{"url":"https://crates.io/crates/model","tags":["package"],"sources":["rustsec"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-36460","url":"https://www.cve.org/CVERecord?id=CVE-2020-36460","licence":"CVE Terms of Use","modified":"2024-08-04T17:30:08.084Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-mxv6-q98x-h958","url":"https://github.com/advisories/GHSA-mxv6-q98x-h958","licence":"CC-BY-4.0","modified":"2023-11-08T04:03:46.195Z"},{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2020-0140","url":"https://rustsec.org/advisories/RUSTSEC-2020-0140.html","licence":"CC0-1.0","modified":"2023-11-08T04:03:46.195Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-36460","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-36460","licence":"Public domain","modified":"2026-06-17T03:15:32.363Z"}],"updatedAt":"2026-11-25T22:57:58.292Z","epss":{"score":0.01098,"percentile":0.66556,"date":"2026-12-01T12:00:22.000Z"}}