RUSTSEC-2020-0135

Slock allows sending non-Send types across thread boundaries

Issued
Package
slock (crates.io)
Type
Vulnerability
Categories
  • memory-corruption
  • thread-safety
Details
https://github.com/BrokenLamp/slock-rs/issues/2
Patched
no patched versions

Description

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.

More