HIGH8.1
GHSA-29v7-3v4c-gf38
Data races in parc
Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
crates.io/parc
Introduced in:
0No fixed version published yet for parc. Pin to a known-safe version or switch to an alternative.
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]