Files
advisory-db/crates/slock/RUSTSEC-2020-0135.md
2021-01-30 23:02:50 -05:00

494 B

[advisory]
id = "RUSTSEC-2020-0135"
package = "slock"
date = "2020-11-17"
url = "https://github.com/BrokenLamp/slock-rs/issues/2"
categories = ["memory-corruption", "thread-safety"]

[versions]
patched = []

Slock allows sending non-Send types across thread boundaries

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.