CVE-2020-35905
MEDIUM 4.7CVSS 3.1MutexGuard::map can cause a data race in safe code
An issue was discovered in the futures-util crate before 0.3.7 for Rust. MutexGuard::map can cause a data race for certain closure situations (in safe code).
- Published
- 31 Dec 2020
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-362
- Also known as
- GHSA-rh4w-94hh-9943RUSTSEC-2020-0059
- Sources
- NVDJSONOSV GHSA-rh4w-94hh-9943JSONOSV RUSTSEC-2020-0059JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 4.7 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.7 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H |
| OSV | RustSec | CVSS 3.1 | MEDIUM 4.7 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | LOW 1.9 | AV:L/AC:M/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | rust-lang | future-utilscpe:2.3:a:rust-lang:future-utils:*:*:*:*:*:rust:*:* |
< 0.3.7 | 0.3.7 |
| OSV | crates.io | futures-util | >= 0.3.2, < 0.3.7 | 0.3.7 |
References
- https://rustsec.org/advisories/RUSTSEC-2020-0059.html · Exploit, Patch, Third Party Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2020-35905 · ADVISORY
- https://github.com/rust-lang/futures-rs/issues/2239 · WEB, REPORT
- https://github.com/rust-lang/futures-rs · PACKAGE
- https://crates.io/crates/futures-util · PACKAGE
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 31 Dec 2020)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 22 Oct 2020)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 24 May 2022)