RUSTSEC-2020-0133
Queue should have a Send bound on its Send/Sync traits
- Reported
- Issued
- Package
- scottqueue (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 implements Send
/Sync
for Queue<T>
.
This allows (1) creating data races to a T: !Sync
and (2) sending T: !Send
to other threads, resulting in memory corruption or other undefined behavior.
Advisory available under CC0-1.0 license.