{"id":"CVE-2020-36438","aliases":["CVE-2020-36438","GHSA-fg42-vwxx-xx5j","GHSA-m296-j53x-xv95","RUSTSEC-2020-0118"],"related":[],"kind":"vulnerability","state":"published","title":"Data race in tiny_future","summary":"An issue was discovered in the tiny_future crate before 0.4.0 for Rust. Future<T> does not have bounds on its Send and Sync traits.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"An issue was discovered in the tiny_future crate before 0.4.0 for Rust. Future<T> does not have bounds on its Send and Sync traits.","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"},{"lang":"en","text":"`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`.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Se ha detectado un problema en la crate tiny_future versiones anteriores a 0.4.0 para Rust. La función Future(T) no presente límites en sus rasgos Send y Sync","source":"nvd"}],"published":"2020-12-08T12:00:00.000Z","modified":"2026-06-17T03:15:29.563Z","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.0"}],"ecosystem":"crates.io","package":"tiny_future","purl":"pkg:cargo/tiny_future","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.4.0"}],"ecosystem":"crates.io","package":"tiny_future","purl":"pkg:cargo/tiny_future","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.0.0-0","status":"affected","fixed":"0.4.0"}],"ecosystem":"crates.io","package":"tiny_future","purl":"pkg:cargo/tiny_future","source":"rustsec"},{"ranges":[{"status":"affected","fixed":"0.4.0"}],"vendor":"tiny_future_project","product":"tiny_future","cpe":"cpe:2.3:a:tiny_future_project:tiny_future:*:*:*:*:*:rust:*:*","source":"nvd"}],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2020-0118.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/tiny_future/RUSTSEC-2020-0118.md","tags":["third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-36438","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/KizzyCode/tiny_future/issues/1","tags":["report","web"],"sources":["ghsa","rustsec"]},{"url":"https://github.com/KizzyCode/tiny_future-rust/commit/c7919199a0f6d1ce0e3c33499d1b37f862c990e4","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/KizzyCode/tiny_future","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/KizzyCode/tiny_future/commit/7ab8a264980d23c2ed64e72f4636f38b7381eb39","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/KizzyCode/tiny_future/commit/c7919199a0f6d1ce0e3c33499d1b37f862c990e4","tags":["web"],"sources":["ghsa"]},{"url":"https://crates.io/crates/tiny_future","tags":["package"],"sources":["rustsec"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-36438","url":"https://www.cve.org/CVERecord?id=CVE-2020-36438","licence":"CVE Terms of Use","modified":"2024-08-04T17:30:08.259Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-fg42-vwxx-xx5j","url":"https://github.com/advisories/GHSA-fg42-vwxx-xx5j","licence":"CC-BY-4.0","modified":"2023-11-08T04:03:44.842Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-m296-j53x-xv95","url":"https://github.com/advisories/GHSA-m296-j53x-xv95","licence":"CC-BY-4.0","modified":"2023-11-08T04:03:44.842Z"},{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2020-0118","url":"https://rustsec.org/advisories/RUSTSEC-2020-0118.html","licence":"CC0-1.0","modified":"2023-11-08T04:03:44.842Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-36438","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-36438","licence":"Public domain","modified":"2026-06-17T03:15:29.563Z"}],"updatedAt":"2026-11-25T22:57:58.283Z","epss":{"score":0.00766,"percentile":0.56677,"date":"2026-12-01T12:00:22.000Z"}}