{"id":"CVE-2020-35925","aliases":["CVE-2020-35925","GHSA-wv4p-jp67-jr97","RUSTSEC-2020-0088"],"related":[],"kind":"vulnerability","state":"published","title":"Data races in magnetic","summary":"An issue was discovered in the magnetic crate before 2.0.1 for Rust. MPMCConsumer and MPMCProducer allow cross-thread sending of a non-Send type.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"An issue was discovered in the magnetic crate before 2.0.1 for Rust. MPMCConsumer and MPMCProducer allow cross-thread sending of a non-Send type.","source":"cvelist"},{"lang":"en","text":"Affected versions of this crate unconditionally implemented Sync and Send traits for MPMCConsumer and MPMCProducer types. This allows users to send types that do not implement Send trait across thread boundaries, which can cause a data race. The flaw was corrected in the 2.0.1 release by adding T: Send bound to affected Sync/Send trait implementations.","format":"markdown","source":"ghsa"},{"lang":"en","text":"Affected versions of this crate unconditionally implemented `Sync` and `Send` traits for `MPMCConsumer` and `MPMCProducer` types.\n\nThis allows users to send types that do not implement `Send` trait across thread boundaries, which can cause a data race.\n\nThe flaw was corrected in the 2.0.1 release by adding `T: Send` bound to affected Sync/Send trait implementations.","format":"markdown","source":"rustsec"},{"lang":"es","text":"Se detectó un problema en la crate magnetic versiones anteriores a 2.0.1 para Rust.&#xa0;Las funciones MPMCConsumer y MPMCProducer permiten el envío entre subprocesos de un tipo non-Send.","source":"nvd"}],"published":"2020-11-29T12:00:00.000Z","modified":"2026-06-17T03:14:37.100Z","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":"2.0.1"}],"ecosystem":"crates.io","package":"magnetic","purl":"pkg:cargo/magnetic","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.0.0-0","status":"affected","fixed":"2.0.1"}],"ecosystem":"crates.io","package":"magnetic","purl":"pkg:cargo/magnetic","source":"rustsec"},{"ranges":[{"status":"affected","fixed":"2.0.1"}],"vendor":"magnetic_project","product":"magnetic","cpe":"cpe:2.3:a:magnetic_project:magnetic:*:*:*:*:*:rust:*:*","source":"nvd"}],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2020-0088.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-35925","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/johnshaw/magnetic/issues/9","tags":["report","web"],"sources":["ghsa","rustsec"]},{"url":"https://github.com/johnshaw/magnetic","tags":["package"],"sources":["ghsa"]},{"url":"https://crates.io/crates/magnetic","tags":["package"],"sources":["rustsec"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-35925","url":"https://www.cve.org/CVERecord?id=CVE-2020-35925","licence":"CVE Terms of Use","modified":"2024-08-04T17:16:13.237Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-wv4p-jp67-jr97","url":"https://github.com/advisories/GHSA-wv4p-jp67-jr97","licence":"CC-BY-4.0","modified":"2023-11-08T04:03:39.710Z"},{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2020-0088","url":"https://rustsec.org/advisories/RUSTSEC-2020-0088.html","licence":"CC0-1.0","modified":"2023-11-08T04:03:39.710Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-35925","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-35925","licence":"Public domain","modified":"2026-06-17T03:14:37.100Z"}],"updatedAt":"2026-11-25T22:57:56.660Z","epss":{"score":0.00382,"percentile":0.34344,"date":"2026-12-01T12:00:22.000Z"}}