medium5.9
CVE-2020-36472
Data races in max7301
Impact
The `ImmediateIO` and `TransactionalIO` types implement `Sync` for all contained `Expander<EI>` types regardless of if the `Expander` itself is safe to use across threads. As the `IO` types allow retrieving the `Expander`, this can lead to non-thread safe types being sent across threads as part of the `Expander` leading to data races.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| rust | max7301 | < 0.2.0 | 0.2.0 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Max7301 Project | Max7301 | before 0.2.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/max7301/RUSTSEC-2020-0152.md
- https://rustsec.org/advisories/RUSTSEC-2020-0152.html
- https://github.com/advisories/GHSA-rmff-f8w9-c9rm
- https://github.com/edarc/max7301/issues/1
- https://github.com/edarc/max7301/commit/0a1da873ddb29bca926bad8301f8d7ab8aa97c52
- https://nvd.nist.gov/vuln/detail/CVE-2020-36472