{"id":"CVE-2020-36438","aliases":["EUVD-2021-1699","GHSA-fg42-vwxx-xx5j","GHSA-m296-j53x-xv95","RUSTSEC-2020-0118"],"status":"published","title":"Data race in tiny_future","description":"An issue was discovered in the tiny_future crate before 0.4.0 for Rust. Future\u003cT\u003e does not have bounds on its Send and Sync traits.","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.00766,"percentile":0.55904,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-119","CWE-362"],"published":"2020-12-08T12:00:00Z","modified":"2026-06-17T03:15:29Z","fixes":[{"ecosystem":"crates.io","package":"tiny_future","fixed_in":["0.4.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"crates.io","package":"tiny_future","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.4.0"}]}]},{"source":"ghsa","ecosystem":"crates.io","package":"tiny_future","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.4.0"}]}]},{"source":"osv","ecosystem":"crates.io","package":"tiny_future","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.4.0"}]}]},{"source":"osv","ecosystem":"crates.io","package":"tiny_future","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.4.0"}]}]},{"source":"osv","ecosystem":"crates.io","package":"tiny_future","ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"},{"fixed":"0.4.0"}]}]}],"products":[{"vendor":"tiny_future_project","product":"tiny_future"}],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2020-0118.html","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","web","advisory"]},{"url":"https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/tiny_future/RUSTSEC-2020-0118.md","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-36438","tags":["advisory"]},{"url":"https://github.com/KizzyCode/tiny_future/issues/1","tags":["web","report"]},{"url":"https://github.com/KizzyCode/tiny_future-rust/commit/c7919199a0f6d1ce0e3c33499d1b37f862c990e4","tags":["web"]},{"url":"https://github.com/advisories/GHSA-fg42-vwxx-xx5j"},{"url":"https://github.com/KizzyCode/tiny_future/commit/7ab8a264980d23c2ed64e72f4636f38b7381eb39","tags":["web"]},{"url":"https://github.com/KizzyCode/tiny_future/commit/c7919199a0f6d1ce0e3c33499d1b37f862c990e4","tags":["web"]},{"url":"https://github.com/advisories/GHSA-m296-j53x-xv95"},{"url":"https://github.com/KizzyCode/tiny_future","tags":["package"]},{"url":"https://crates.io/crates/tiny_future","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2020-36438","description":"An issue was discovered in the tiny_future crate before 0.4.0 for Rust. Future\u003cT\u003e does not have bounds on its Send and Sync traits.","status":"published","published":"2021-08-08T05:18:32Z","modified":"2024-08-04T17:30:08.259Z","updated_at":"2026-11-02T14:35:55.128961Z"}],"euvd":[{"id":"EUVD-2021-1699","description":"An issue was discovered in the tiny_future crate before 0.4.0 for Rust. Future\u003cT\u003e does not have bounds on its Send and Sync traits.","status":"published","published":"2021-08-08T05:18:32Z","modified":"2024-08-04T17:30:08Z","updated_at":"2026-11-03T03:07:03.010139Z"}],"ghsa":[{"id":"GHSA-fg42-vwxx-xx5j","title":"Data race in tiny_future","description":"tiny_future contains a light-weight implementation of Futures. The Future type it has lacked bound on its Send and Sync traits. This allows for a bug where non-thread safe types such as Cell can be used in Futures and cause data races in concurrent programs. The flaw was corrected in commit `c791919` by adding trait bounds to Future's Send and Sync.","status":"published","published":"2021-08-25T20:58:53Z","modified":"2023-06-13T22:05: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-119","CWE-362"],"updated_at":"2026-11-02T14:36:54.225318Z"},{"id":"GHSA-m296-j53x-xv95","title":"Data races in tiny_future","description":"`tiny_future` contains a light-weight implementation of `Future`s. The `Future` type it has lacked bound on its `Send` and `Sync` traits. This allows for a bug where non-thread safe types such as `Cell` can be used in `Future`s and cause data races in concurrent programs. The flaw was corrected in commit `c791919` by adding trait bounds to `Future`'s `Send` and `Sync`.\n","status":"published","published":"2021-08-25T21:00:32Z","modified":"2023-06-13T21:48:01Z","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"],"updated_at":"2026-11-02T14:36:54.225318Z"}],"nvd":[{"id":"CVE-2020-36438","description":"An issue was discovered in the tiny_future crate before 0.4.0 for Rust. Future\u003cT\u003e does not have bounds on its Send and Sync traits.","status":"published","published":"2021-08-08T06:15:07.047Z","modified":"2026-06-17T03:15:29.563Z","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-362"],"updated_at":"2026-11-02T14:06:44.292752Z"}],"osv":[{"id":"GHSA-fg42-vwxx-xx5j","title":"Data race in tiny_future","description":"tiny_future contains a light-weight implementation of Futures. The Future type it has lacked bound on its Send and Sync traits. This allows for a bug where non-thread safe types such as Cell can be used in Futures and cause data races in concurrent programs. The flaw was corrected in commit `c791919` by adding trait bounds to Future's Send and Sync.","status":"published","published":"2021-08-25T20:58:53Z","modified":"2023-11-08T04:03:44.84273Z","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-119","CWE-362"],"updated_at":"2026-11-02T15:46:46.39441Z"},{"id":"GHSA-m296-j53x-xv95","title":"Data races in tiny_future","description":"`tiny_future` contains a light-weight implementation of `Future`s. The `Future` type it has lacked bound on its `Send` and `Sync` traits. This allows for a bug where non-thread safe types such as `Cell` can be used in `Future`s and cause data races in concurrent programs. The flaw was corrected in commit `c791919` by adding trait bounds to `Future`'s `Send` and `Sync`.\n","status":"published","published":"2021-08-25T21:00:32Z","modified":"2023-11-08T04:03:44.84273Z","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"],"updated_at":"2026-11-02T15:46:51.10002Z"},{"id":"RUSTSEC-2020-0118","title":"Future\u003cT\u003e lacks bounds on Send and Sync.","description":"`tiny_future` contains a light-weight implementation of `Future`s. The `Future`\ntype it has lacked bound on its `Send` and `Sync` traits.\n\nThis allows for a bug where non-thread safe types such as `Cell` can be used in\n`Future`s and cause data races in concurrent programs.\n\nThe flaw was corrected in commit `c791919` by adding trait bounds to `Future`'s\n`Send` and `Sync`.","status":"published","published":"2020-12-08T12:00:00Z","modified":"2023-11-08T04:03:44.84273Z","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"}]}}
