CVE-2020-36471
published 2021-08-08CVE-2020-36471: 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.
PriorityP426medium5.9CVSS 3.1
AVNACHPRNUINSUCNINAH
EPSS
1.09%
61.3th percentile
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.
Affected
4 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | rust-generator | < rust-generator 0.7.1-1 (bookworm) | rust-generator 0.7.1-1 (bookworm) |
| generator_project | generator | < 0.7.0 | 0.7.0 |
| php_formmail | generator | >= 0 < 0.7.0 | 0.7.0 |
| php_formmail | generator | >= 0.0.0-0 < 0.7.0 | 0.7.0 |
CVSS provenance
nvdv3.15.9MEDIUMCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
nvdv2.04.3MEDIUMAV:N/AC:M/Au:N/C:N/I:N/A:P
osv5.9MEDIUM
vendor_debian5.9MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
Data races in generator
osv·2021-08-25
CVE-2020-36471 [MEDIUM] Data races in generator
Data races in generator
The `Generator` type is an iterable which uses a generator function that yields
values. In affected versions of the crate, the provided function yielding values
had no `Send` bounds despite the `Generator` itself implementing `Send`.
The generator function lacking a `Send` bound means that types that are
dangerous to send across threads such as `Rc` could be sent as part of a
generator, potentially leading to data races.
This flaw was fixed in commit [`f7d120a3b`](https://github.com/Xudong-Huang/generator-rs/commit/f7d120a3b724d06a7b623d0a4306acf8f78cb4f0)
by enforcing that the generator function be bound by `Send`.
GHSA
Data races in generator
ghsa·2021-08-25
CVE-2020-36471 [MEDIUM] CWE-362 Data races in generator
Data races in generator
The `Generator` type is an iterable which uses a generator function that yields
values. In affected versions of the crate, the provided function yielding values
had no `Send` bounds despite the `Generator` itself implementing `Send`.
The generator function lacking a `Send` bound means that types that are
dangerous to send across threads such as `Rc` could be sent as part of a
generator, potentially leading to data races.
This flaw was fixed in commit [`f7d120a3b`](https://github.com/Xudong-Huang/generator-rs/commit/f7d120a3b724d06a7b623d0a4306acf8f78cb4f0)
by enforcing that the generator function be bound by `Send`.
OSV
CVE-2020-36471: An issue was discovered in the generator crate before 0
osv·2021-08-08·CVSS 5.9
CVE-2020-36471 [MEDIUM] CVE-2020-36471: An issue was discovered in the generator crate before 0
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.
OSV
Generators can cause data races if non-Send types are used in their generator functions
osv·2020-11-16
CVE-2020-36471 Generators can cause data races if non-Send types are used in their generator functions
Generators can cause data races if non-Send types are used in their generator functions
The `Generator` type is an iterable which uses a generator function that yields
values. In affected versions of the crate, the provided function yielding values
had no `Send` bounds despite the `Generator` itself implementing `Send`.
The generator function lacking a `Send` bound means that types that are
dangerous to send across threads such as `Rc` could be sent as part of a
generator, potentially leading to data races.
This flaw was fixed in commit [`f7d120a3b`](https://github.com/Xudong-Huang/generator-rs/commit/f7d120a3b724d06a7b623d0a4306acf8f78cb4f0)
by enforcing that the generator function be bound by `Send`.
Debian
CVE-2020-36471: rust-generator - An issue was discovered in the generator crate before 0.7.0 for Rust. It does no...
vendor_debian·2020·CVSS 5.9
CVE-2020-36471 [MEDIUM] CVE-2020-36471: rust-generator - An issue was discovered in the generator crate before 0.7.0 for Rust. It does no...
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.
Scope: local
bookworm: resolved (fixed in 0.7.1-1)
bullseye: open
forky: resolved (fixed in 0.7.1-1)
sid: resolved (fixed in 0.7.1-1)
trixie: resolved (fixed in 0.7.1-1)
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
2021-08-08
Published