- Reported
-
- Issued
-
- Package
-
multiqueue2
(crates.io)
- Type
-
INFO
Unsound
- Categories
-
- Aliases
-
- References
-
- CVSS Score
- 5.9
MEDIUM
- CVSS Details
-
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
- CVSS Vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- Patched
-
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.
The flaw was corrected in v0.1.7 by adding T: Send
bound to to the Send
impl of four data types explained above.
Advisory available under CC0-1.0
license.