Race condition in Parc
High severity
GitHub Reviewed
Published
Aug 25, 2021
to the GitHub Advisory Database
•
Updated Jun 13, 2023
Description
Reviewed
Aug 9, 2021
Published to the GitHub Advisory Database
Aug 25, 2021
Last updated
Jun 13, 2023
In the affected versions of this crate,
LockWeak<T>
unconditionally implementedSend
with no trait bounds onT
.LockWeak<T>
doesn't ownT
and only provides&T
. This allows concurrent access to a non-SyncT
, which can cause undefined behavior like data races.References