We found results for “”
WS-2020-0277
Date: November 15, 2020
CopyCell in toolshed crate through 0.8.1 lacks bounds on its Send trait allowing for data races. CopyCell<T> is a Cell-like type that is implemented for any type T that is Copyable. It’s Send trait has no bounds on the contained type. As not all Copyable types are thread safe, for example non-mutable references implement the Copy trait, it is possible to send references to types with interior mutability such as Cell across threads and cause data races.
Language: RUST
Severity Score
Severity Score
Weakness Type (CWE)
Race Conditions
CWE-362CVSS v3.1
Base Score: |
|
---|---|
Attack Vector (AV): | LOCAL |
Attack Complexity (AC): | LOW |
Privileges Required (PR): | NONE |
User Interaction (UI): | REQUIRED |
Scope (S): | UNCHANGED |
Confidentiality (C): | NONE |
Integrity (I): | NONE |
Availability (A): | HIGH |