VDB
Sign up
HIGH8.1

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

crates.io/slock
Introduced in: 0Fixed in: 0.2.0

Upgrade slock to 0.2.0 or newer (ecosystem crates.io).

References