GHSA-wv4p-jp67-jr97
Dashboard / Vulnerabilities / GHSA-wv4p-jp67-jr97
GHSA-wv4p-jp67-jr97
Published: 25 Aug 2021Last Modified: 8 Nov 2023
Aliases:
Summary: Data races in magnetic
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://nvd.nist.gov/vuln/detail/CVE-2020-35925, https://github.com/johnshaw/magnetic/issues/9, https://github.com/johnshaw/magnetic, https://rustsec.org/advisories/RUSTSEC-2020-0088.html
Affected packages
Package
Name: magnetic
Purl: pkg:cargo/magnetic
Affected ranges
Type: SEMVER
Events:
Introduced- 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
