ADVISORIES

RustSec Advisory Database

RUSTSEC-2020-0135

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
From 0.0.0-0 before 0.2.0 (fixed in 0.2.0)

References