8.1high
Data races in toolshed
- Severity
- 8.1high CVSS:3.1 by NVD
- Exploit likelihood
- 1.10% (higher than 65% of CVEs)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-2r6q-6c8c-g762RUSTSEC-2020-0136
Description
An issue was discovered in the toolshed crate through 2020-11-15 for Rust. In CopyCell<T>, the Send trait lacks bounds on the contained type.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| toolshed (crates.io) | up to 0.8.1, from 0.0.0-0 | GitHub Advisory Database, RustSec Advisory Database |
| toolshed_project toolshed | up to 2020-11-15 | NVD |
All scores
| GitHub | 8.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| RustSec Advisory Database | 8.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 8.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 6.8medium CVSS:2.0 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Classification
What each source says
CVE List
An issue was discovered in the toolshed crate through 2020-11-15 for Rust. In CopyCell<T>, the Send trait lacks bounds on the contained type.
RustSec Advisory Database
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.
NVD (es)
Se ha detectado un problema en la crate toolshed hasta el 15-11-2020 para Rust. En la función CopyCell(T), el rasgo Send carece de límites en el tipo contenido
References
| https://rustsec.org/advisories/RUSTSEC-2020-0136.html | advisory, exploit, issue-tracking, patch, third-party-advisory, web | |
| https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/toolshed/RUSTSEC-2020-0136.md | third-party-advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2020-36456 | advisory | |
| https://github.com/ratel-rust/toolshed/issues/12 | report, web | |
| https://github.com/ratel-rust/toolshed | package | |
| https://crates.io/crates/toolshed | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2020-36456 changed 2024-08-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-2r6q-6c8c-g762 changed 2023-11-08 | CC-BY-4.0 |
| RustSec Advisory Database | RUSTSEC-2020-0136 changed 2023-11-08 | CC0-1.0 |
| NVD | CVE-2020-36456 changed 2026-06-17 | Public domain |