RUSTSEC-2020-0143
Queues allow non-Send types to be sent to other threads, allowing data races
- Reported
- Issued
- Package
- multiqueue (crates.io)
- Type
- Vulnerability
- Categories
- Aliases
- References
- CVSS Score
- 8.1 HIGH
- CVSS Details
-
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
- CVSS Vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- Patched
- no patched versions
Description
Affected versions of this crate unconditionally implemented Send
for types used in queue implementations (InnerSend<RW, T>
, InnerRecv<RW, T>
, FutInnerSend<RW, T>
, FutInnerRecv<RW, T>
).
This allows users to send non-Send types to other threads, which can lead to data race bugs or other undefined behavior.
Advisory available under CC0-1.0 license.