{"id":"CVE-2020-36457","aliases":["EUVD-2021-1666","GHSA-9pp4-8p8v-g78w","RUSTSEC-2020-0137"],"status":"published","title":"Data races in lever","description":"An issue was discovered in the lever crate before 0.1.1 for Rust. AtomicBox\u003cT\u003e implements the Send and Sync traits for all types T.","severity":{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-11","score":0.0124,"percentile":0.69546,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-362","CWE-77"],"published":"2020-11-10T12:00:00Z","modified":"2026-06-17T03:15:31Z","fixes":[{"ecosystem":"crates.io","package":"lever","fixed_in":["0.1.1"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"crates.io","package":"lever","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.1.1"}]}]},{"source":"osv","ecosystem":"crates.io","package":"lever","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.1.1"}]}]},{"source":"osv","ecosystem":"crates.io","package":"lever","ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"},{"fixed":"0.1.1"}]}]}],"products":[{"vendor":"lever_project","product":"lever"}],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2020-0137.html","tags":["x_refsource_MISC","x_transferred","Exploit","Issue Tracking","Patch","Third Party Advisory","web","advisory"]},{"url":"https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/lever/RUSTSEC-2020-0137.md","tags":["x_refsource_MISC","x_transferred","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-36457","tags":["advisory"]},{"url":"https://github.com/vertexclique/lever/issues/15","tags":["web","report"]},{"url":"https://github.com/vertexclique/lever/pull/17","tags":["web"]},{"url":"https://github.com/vertexclique/lever/commit/4a4cca61cdb25061967d58522229e147483007b1","tags":["web"]},{"url":"https://github.com/advisories/GHSA-9pp4-8p8v-g78w"},{"url":"https://github.com/vertexclique/lever","tags":["package"]},{"url":"https://crates.io/crates/lever","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2020-36457","description":"An issue was discovered in the lever crate before 0.1.1 for Rust. AtomicBox\u003cT\u003e implements the Send and Sync traits for all types T.","status":"published","published":"2021-08-08T05:14:20Z","modified":"2024-08-04T17:30:08.174Z","updated_at":"2026-11-02T14:35:54.80237Z"}],"euvd":[{"id":"EUVD-2021-1666","description":"An issue was discovered in the lever crate before 0.1.1 for Rust. AtomicBox\u003cT\u003e implements the Send and Sync traits for all types T.","status":"published","published":"2021-08-08T05:14:20Z","modified":"2024-08-04T17:30:08Z","updated_at":"2026-11-03T03:07:03.010139Z"}],"ghsa":[{"id":"GHSA-9pp4-8p8v-g78w","title":"Data races in lever","description":"An issue was discovered in the lever crate before 0.1.1 for Rust. AtomicBox\u003cT\u003e implements the Send and Sync traits for all types T. This allows non-Send types such as Rc and non-Sync types such as Cell to be used across thread boundaries which can trigger undefined behavior and memory corruption.","status":"published","published":"2021-08-25T20:57:26Z","modified":"2023-03-31T15:53:30Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-77","CWE-362"],"updated_at":"2026-11-02T14:36:49.768564Z"}],"nvd":[{"id":"CVE-2020-36457","description":"An issue was discovered in the lever crate before 0.1.1 for Rust. AtomicBox\u003cT\u003e implements the Send and Sync traits for all types T.","status":"published","published":"2021-08-08T06:15:07.797Z","modified":"2026-06-17T03:15:31.973Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-77"],"updated_at":"2026-11-02T14:06:44.292752Z"}],"osv":[{"id":"GHSA-9pp4-8p8v-g78w","title":"Data races in lever","description":"An issue was discovered in the lever crate before 0.1.1 for Rust. AtomicBox\u003cT\u003e implements the Send and Sync traits for all types T. This allows non-Send types such as Rc and non-Sync types such as Cell to be used across thread boundaries which can trigger undefined behavior and memory corruption.","status":"published","published":"2021-08-25T20:57:26Z","modified":"2023-11-08T04:03:46.012738Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-362","CWE-77"],"updated_at":"2026-11-02T15:46:43.875515Z"},{"id":"RUSTSEC-2020-0137","title":"AtomicBox\u003cT\u003e lacks bound on its Send and Sync traits allowing data races","description":"`AtomicBox\u003cT\u003e` is a `Box` type designed to be used across threads, however, it\nimplements the `Send` and `Sync` traits for all types `T`.\n\nThis allows non-Send types such as `Rc` and non-Sync types such as `Cell` to\nbe used across thread boundaries which can trigger undefined behavior and\nmemory corruption.","status":"published","published":"2020-11-10T12:00:00Z","modified":"2023-11-08T04:03:46.012738Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:53:39.492624Z"}]}}
