8.1high
Data races in lever
- Severity
- 8.1high CVSS:3.1 by NVD
- Exploit likelihood
- 1.24% (higher than 69% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-9pp4-8p8v-g78wRUSTSEC-2020-0137
Description
An issue was discovered in the lever crate before 0.1.1 for Rust. AtomicBox<T> implements the Send and Sync traits for all types T.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| lever (crates.io) | before 0.1.1, from 0.0.0-0 before 0.1.1 | GitHub Advisory Database, RustSec Advisory Database |
| lever_project lever | 0.0.0, 0.1.0, 0.1.1 | 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 lever crate before 0.1.1 for Rust. AtomicBox<T> implements the Send and Sync traits for all types T.
GitHub Advisory Database
An issue was discovered in the lever crate before 0.1.1 for Rust. AtomicBox<T> implements the Send and Sync traits for all types T. This allows non-Send types such as Rc and non-Sync types such as Cell to be used across thread boundaries which can trigger undefined behavior and memory corruption.
RustSec Advisory Database
AtomicBox<T> is a Box type designed to be used across threads, however, it
implements the Send and Sync traits for all types T.
This allows non-Send types such as Rc and non-Sync types such as Cell to
be used across thread boundaries which can trigger undefined behavior and
memory corruption.
NVD (es)
Se ha detectado un problema en la crate lever versiones anteriores a 0.1.1 para Rust. La función AtomicBox(T) implementa los rasgos Send y Sync para todos los tipos T
References
| https://rustsec.org/advisories/RUSTSEC-2020-0137.html | advisory, exploit, issue-tracking, patch, third-party-advisory, web | |
| https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/lever/RUSTSEC-2020-0137.md | third-party-advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2020-36457 | advisory | |
| https://github.com/vertexclique/lever/issues/15 | report, web | |
| https://github.com/vertexclique/lever/pull/17 | web | |
| https://github.com/vertexclique/lever/commit/4a4cca61cdb25061967d58522229e147483007b1 | web | |
| https://github.com/vertexclique/lever | package | |
| https://crates.io/crates/lever | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2020-36457 changed 2024-08-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-9pp4-8p8v-g78w changed 2023-11-08 | CC-BY-4.0 |
| RustSec Advisory Database | RUSTSEC-2020-0137 changed 2023-11-08 | CC0-1.0 |
| NVD | CVE-2020-36457 changed 2026-06-17 | Public domain |