{"id":"CVE-2020-36219","aliases":["CVE-2020-36219","GHSA-8gf5-q9p9-wvmc","RUSTSEC-2020-0113"],"related":[],"kind":"vulnerability","state":"published","title":"Data race in atomic-option","summary":"An issue was discovered in the atomic-option crate through 2020-10-31 for Rust. Because AtomicOption<T> implements Sync unconditionally, a data race can occur.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"An issue was discovered in the atomic-option crate through 2020-10-31 for Rust. Because AtomicOption<T> implements Sync unconditionally, a data race can occur.","source":"cvelist"},{"lang":"en","text":"In the affected versions of this crate,\n`AtomicOption<T>` unconditionally implements `Sync`.\n\nThis allows programmers to move non-Sync types across thread boundaries (e.g. `Rc<T>`, `Arc<Cell<T>>`), which can lead to data races and undefined behavior. \nIt is also possible to send non-Send types like `std::sync::MutexGuard` to other threads, which can lead to undefined behavior.","format":"markdown","source":"rustsec"},{"lang":"es","text":"Se detectó un problema en la crate atomic-option versiones hasta el 31-10-2020 para Rust.&#xa0;Debido a que AtomicOption(T) implementa una Sync incondicionalmente, una carrera de datos puede ocurrir","source":"nvd"}],"published":"2020-10-31T12:00:00.000Z","modified":"2026-06-17T03:15:07.820Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","score":5.9,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","score":5.9,"rating":"MEDIUM"},{"scorer":"RustSec Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","score":5.9,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","score":5.9,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:N/I:N/A:P","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-662"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"0.1.2"}],"ecosystem":"crates.io","package":"atomic-option","purl":"pkg:cargo/atomic-option","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.0.0-0","status":"affected"}],"ecosystem":"crates.io","package":"atomic-option","purl":"pkg:cargo/atomic-option","source":"rustsec"},{"ranges":[{"status":"affected","lastAffected":"2020-10-31"}],"vendor":"atomic-option_project","product":"atomic-option","cpe":"cpe:2.3:a:atomic-option_project:atomic-option:*:*:*:*:*:rust:*:*","source":"nvd"}],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2020-0113.html","tags":["advisory","exploit","vendor-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","rustsec","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-36219","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/reem/rust-atomic-option/issues/4","tags":["report","web"],"sources":["ghsa","rustsec"]},{"url":"https://github.com/reem/rust-atomic-option","tags":["package"],"sources":["ghsa"]},{"url":"https://crates.io/crates/atomic-option","tags":["package"],"sources":["rustsec"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-36219","url":"https://www.cve.org/CVERecord?id=CVE-2020-36219","licence":"CVE Terms of Use","modified":"2024-08-04T17:23:09.580Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-8gf5-q9p9-wvmc","url":"https://github.com/advisories/GHSA-8gf5-q9p9-wvmc","licence":"CC-BY-4.0","modified":"2023-11-08T04:03:42.214Z"},{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2020-0113","url":"https://rustsec.org/advisories/RUSTSEC-2020-0113.html","licence":"CC0-1.0","modified":"2023-11-08T04:03:42.214Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-36219","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-36219","licence":"Public domain","modified":"2026-06-17T03:15:07.820Z"}],"updatedAt":"2026-11-25T22:57:57.195Z","epss":{"score":0.01121,"percentile":0.67108,"date":"2026-12-01T12:00:22.000Z"}}