RUSTSEC-2020-0135
Dashboard / Vulnerabilities / RUSTSEC-2020-0135
RUSTSEC-2020-0135
Published: 17 Nov 2020Last Modified: 8 Nov 2023
Summary: 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.
References: https://crates.io/crates/slock, https://rustsec.org/advisories/RUSTSEC-2020-0135.html, https://github.com/BrokenLamp/slock-rs/issues/2
Affected packages
Package
Name: slock
Purl: pkg:cargo/slock
Affected ranges
Type: SEMVER
Events:
Introduced- 0.0.0-0
Fixed -0.2.0
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
