# CVE-2020-36471: Data races in generator

- Severity: Medium 5.9 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.09%, higher than 66% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2020-11-16T12:00:00.000Z
- Modified: 2026-06-17T03:15:33.767Z
- Also known as: GHSA-w3g5-2848-2v8r, RUSTSEC-2020-0151
- Weaknesses: CWE-362
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- generator (crates.io): before 0.7.0; from 0.0.0-0 before 0.7.0
- generator_project generator: before 0.7.0

## Every score

- GitHub: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- RustSec Advisory Database: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:N/A:P`

## References

- <https://rustsec.org/advisories/RUSTSEC-2020-0151.html> (exploit, advisory, issue-tracking, patch, third-party-advisory, web)
- <https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/generator/RUSTSEC-2020-0151.md> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-36471> (advisory)
- <https://github.com/Xudong-Huang/generator-rs/issues/27> (report, web)
- <https://github.com/Xudong-Huang/generator-rs/commit/f7d120a3b724d06a7b623d0a4306acf8f78cb4f0> (web)
- <https://github.com/Xudong-Huang/generator-rs> (package)
- <https://crates.io/crates/generator> (package)

## Sources

- CVE List: [CVE-2020-36471](https://www.cve.org/CVERecord?id=CVE-2020-36471), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-w3g5-2848-2v8r](https://github.com/advisories/GHSA-w3g5-2848-2v8r), CC-BY-4.0, modified 2023-11-08
- RustSec Advisory Database: [RUSTSEC-2020-0151](https://rustsec.org/advisories/RUSTSEC-2020-0151.html), CC0-1.0, modified 2023-11-08
- NVD: [CVE-2020-36471](https://nvd.nist.gov/vuln/detail/CVE-2020-36471), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-36471 · Whole record: https://cve.day/CVE-2020-36471.json · Rebuilt by cve.day 2026-11-25T22:57:58.296Z
