ADVISORIES

GitHub Advisory Database

GHSA-83r8-p8v6-6gfm

Slock<T> allows sending non-Send types across thread boundaries

Details

Slock<T> unconditionally implements Send/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.

Affected packages

EcosystemPackageAffected versions
crates.ioslock
All versions before 0.2.0 (fixed in 0.2.0)

References