CVE-2020-36471
MEDIUM 5.9CVSS 3.1Data races in generator
An issue was discovered in the generator crate before 0.7.0 for Rust. It does not ensure that a function (for yielding values) has Send bounds.
- Published
- 8 Aug 2021
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-362
- Also known as
- GHSA-w3g5-2848-2v8rRUSTSEC-2020-0151
- Sources
- NVDJSONOSV GHSA-w3g5-2848-2v8rJSONOSV RUSTSEC-2020-0151JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | RustSec | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | generator_project | generatorcpe:2.3:a:generator_project:generator:*:*:*:*:*:rust:*:* |
< 0.7.0 | 0.7.0 |
| OSV | crates.io | generator | < 0.7.0 | 0.7.0 |
| OSV | crates.io | generator | >= 0.0.0-0, < 0.7.0 | 0.7.0 |
References
- https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/generator/RUSTSEC-2020-0151.md · Third Party Advisory, WEB
- https://rustsec.org/advisories/RUSTSEC-2020-0151.html · Exploit, Issue Tracking, Patch, Third Party Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2020-36471 · ADVISORY
- https://github.com/Xudong-Huang/generator-rs/issues/27 · WEB, REPORT
- https://github.com/Xudong-Huang/generator-rs/commit/f7d120a3b724d06a7b623d0a4306acf8f78cb4f0 · WEB
- https://github.com/Xudong-Huang/generator-rs · PACKAGE
- https://crates.io/crates/generator · PACKAGE
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 8 Aug 2021)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 16 Nov 2020)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Aug 2021)