RUSTSEC-2020-0088
Dashboard / Vulnerabilities / RUSTSEC-2020-0088
RUSTSEC-2020-0088
Published: 29 Nov 2020Last Modified: 8 Nov 2023
Aliases:
Summary: MPMCConsumer/Producer allows sending non-Send type across threads
Details: Affected versions of this crate unconditionally implemented `Sync` and `Send` traits for `MPMCConsumer` and `MPMCProducer` types. This allows users to send types that do not implement `Send` trait across thread boundaries, which can cause a data race. The flaw was corrected in the 2.0.1 release by adding `T: Send` bound to affected Sync/Send trait implementations.
References: https://crates.io/crates/magnetic, https://rustsec.org/advisories/RUSTSEC-2020-0088.html, https://github.com/johnshaw/magnetic/issues/9
Affected packages
Package
Name: magnetic
Purl: pkg:cargo/magnetic
Affected ranges
Type: SEMVER
Events:
Introduced- 0.0.0-0
Fixed -2.0.1
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
