high8.1
CVE-2020-36454
Data races in parc
Impact
In the affected versions of this crate, LockWeak<T> unconditionally implemented Send with no trait bounds on T. LockWeak<T> doesn't own T and only provides &T. This allows concurrent access to a non-Sync T, which can cause undefined behavior like data races.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| rust | parc | <= 1.0.1 | none recorded |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Parc Project | Parc | through 2020-11-14 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/parc/RUSTSEC-2020-0134.md
- https://rustsec.org/advisories/RUSTSEC-2020-0134.html
- https://github.com/advisories/GHSA-29v7-3v4c-gf38
- https://nvd.nist.gov/vuln/detail/CVE-2020-36454
- https://github.com/hyyking/rustracts/pull/6