{"id":"CVE-2020-36441","aliases":["CVE-2020-36441","GHSA-r626-fc64-3q28","RUSTSEC-2020-0121"],"related":[],"kind":"vulnerability","state":"published","title":"Data race in abox","summary":"An issue was discovered in the abox crate before 0.4.1 for Rust. It implements Send and Sync for AtomicBox<T> with no requirement for T: Send and T: Sync.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"An issue was discovered in the abox crate before 0.4.1 for Rust. It implements Send and Sync for AtomicBox<T> with no requirement for T: Send and T: Sync.","source":"cvelist"},{"lang":"en","text":"Affected versions of this crate implements `Send`/`Sync` for `AtomicBox<T>` without requiring `T: Send`/`T: Sync`. This allows to create data races to `T: !Sync` and send `T: !Send` to another thread. Such behavior breaks the compile-time thread safety guarantees of Rust, and allows users to incur undefined behavior using safe Rust (e.g. memory corruption from data race). The flaw was corrected in commit `34c2b9e` by adding trait bound `T: Send` to `Send` impl for `AtomicBox<T>` and trait bound `T: Sync` to `Sync` impl for `AtomicBox<T>`.","format":"markdown","source":"ghsa"},{"lang":"en","text":"Affected versions of this crate implements `Send`/`Sync` for `AtomicBox<T>` without requiring `T: Send`/`T: Sync`. This allows to create data races to `T: !Sync` and send `T: !Send` to another thread.\n\nSuch behavior breaks the compile-time thread safety guarantees of Rust, and allows users to incur undefined behavior using safe Rust (e.g. memory corruption from data race).\n\nThe flaw was corrected in commit 34c2b9e by adding trait bound `T: Send` to `Send` impl for `AtomicBox<T>` and trait bound `T: Sync` to `Sync` impl for `AtomicBox<T>`.","format":"markdown","source":"rustsec"},{"lang":"es","text":"Se ha detectado un problema en la crate abox versiones anteriores a 0.4.1 para Rust. Implementa Send y Sync para la función AtomicBox(T) sin necesidad de T: Send y T: Sync","source":"nvd"}],"published":"2020-11-10T12:00:00.000Z","modified":"2026-06-17T03:15:29.940Z","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-119","CWE-362"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.4.1"}],"ecosystem":"crates.io","package":"abox","purl":"pkg:cargo/abox","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.0.0-0","status":"affected","fixed":"0.4.1"}],"ecosystem":"crates.io","package":"abox","purl":"pkg:cargo/abox","source":"rustsec"},{"ranges":[{"status":"affected","fixed":"0.4.1"}],"vendor":"abox_project","product":"abox","cpe":"cpe:2.3:a:abox_project:abox:*:*:*:*:*:rust:*:*","source":"nvd"}],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2020-0121.html","tags":["advisory","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","rustsec","nvd"]},{"url":"https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/abox/RUSTSEC-2020-0121.md","tags":["third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-36441","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/SonicFrog/abox/issues/1","tags":["report","web"],"sources":["ghsa","rustsec"]},{"url":"https://github.com/SonicFrog/abox/pull/2","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/SonicFrog/abox/commit/34c2b9e","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/SonicFrog/abox","tags":["package"],"sources":["ghsa"]},{"url":"https://crates.io/crates/abox","tags":["package"],"sources":["rustsec"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-36441","url":"https://www.cve.org/CVERecord?id=CVE-2020-36441","licence":"CVE Terms of Use","modified":"2024-08-04T17:30:08.273Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-r626-fc64-3q28","url":"https://github.com/advisories/GHSA-r626-fc64-3q28","licence":"CC-BY-4.0","modified":"2023-11-08T04:03:45.024Z"},{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2020-0121","url":"https://rustsec.org/advisories/RUSTSEC-2020-0121.html","licence":"CC0-1.0","modified":"2023-11-08T04:03:45.024Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-36441","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-36441","licence":"Public domain","modified":"2026-06-17T03:15:29.940Z"}],"updatedAt":"2026-11-25T22:57:58.285Z","epss":{"score":0.00766,"percentile":0.51842,"date":"2026-11-30T12:00:22.000Z"}}