CVE-2020-36456
JSON

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 packageVersionsReported by
Unspecified productn/aCVE List
toolshed (crates.io)up to 0.8.1, from 0.0.0-0GitHub Advisory Database, RustSec Advisory Database
toolshed_project toolshedup to 2020-11-15NVD

All scores

GitHub8.1high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
RustSec Advisory Database8.1high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD8.1high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD6.8medium CVSS:2.0AV: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

Sources

SourceRecordLicence
CVE ListCVE-2020-36456 changed 2024-08-04CVE Terms of Use
GitHub Advisory DatabaseGHSA-2r6q-6c8c-g762 changed 2023-11-08CC-BY-4.0
RustSec Advisory DatabaseRUSTSEC-2020-0136 changed 2023-11-08CC0-1.0
NVDCVE-2020-36456 changed 2026-06-17Public domain