Slock<T> allows sending non-Send types across thread boundaries
High severity
GitHub Reviewed
Published
Aug 25, 2021
to the GitHub Advisory Database
•
Updated Jun 13, 2023
Description
Reviewed
Aug 6, 2021
Published to the GitHub Advisory Database
Aug 25, 2021
Last updated
Jun 13, 2023
Slock<T>
unconditionally implementsSend
/Sync
.Affected versions of this crate allows sending non-Send types to other threads,
which can lead to data races and memory corruption due to the data race.
References