- Reported
-
- Issued
-
- Package
-
toolshed
(crates.io)
- Type
-
Vulnerability
- Categories
-
- Keywords
-
#concurrency
- Aliases
-
- References
-
- CVSS Score
- 8.1
HIGH
- CVSS Details
-
- Attack Vector
- Network
- Attack Complexity
- High
- Privileges Required
- None
- User Interaction
- None
- Scope
- Unchanged
- Confidentiality Impact
- High
- Integrity Impact
- High
- Availability Impact
- 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
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.
Advisory available under CC0-1.0
license.