GitHub Advisoryadvisory · crates.io
GHSA-29v7-3v4c-gf38 Data races in parc
HIGH
Official page ↗
- Aliases
- CVE-2020-36454
- Ecosystem
- crates.io
- Packages
- parc
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-119, CWE-362
- Reviewed
- 2021-08-18
Affected packages
• crates.io parc: <= 1.0.1 (no fix yet)
Description
In the affected versions of this crate, LockWeak unconditionally implemented Send with no trait bounds on T. LockWeak 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.
Related
Alias · CVE (1)
- CVE-2020-36454 An issue was discovered in the parc crate through 2020-11-14 for Rust. vulnerability
References
- https://nvd.nist.gov/vuln/detail/CVE-2020-36454 advisory
- https://github.com/hyyking/rustracts/pull/6 web
- https://github.com/hyyking/rustracts/tree/master/parc package
- https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/parc/RUSTSEC-2020-0134.md web
- https://rustsec.org/advisories/RUSTSEC-2020-0134.html web