8.1high
Data races in convec
- Severity
- 8.1high CVSS:3.1 by NVD
- Exploit likelihood
- 0.77% (higher than 52% of CVEs)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-rpxm-vmr7-5f5fRUSTSEC-2020-0125
Description
An issue was discovered in the convec crate through 2020-11-24 for Rust. There are unconditional implementations of Send and Sync for ConVec<T>.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| convec (crates.io) | up to 2.0.1, from 0.0.0-0 | GitHub Advisory Database, RustSec Advisory Database |
| project convec | up to 2020-11-24 | 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 convec crate through 2020-11-24 for Rust. There are unconditional implementations of Send and Sync for ConVec<T>.
GitHub Advisory Database
Affected versions of this crate unconditionally implement Send/Sync for ConVec<T>.
This allows users to insert T that is not Send or not Sync.
This allows users to create data races by using non-Send types like Arc<Cell<_>> or Rc<_> as T in ConVec<T>. It is also possible to create data races by using types like Cell<_> or RefCell<_> as T (types that are Send but not Sync).
Such data races can lead to memory corruption.
NVD (es)
Se ha detectado un problema en la crate convec hasta el 24-11-2020 para Rust. Se presentan implementaciones incondicionales de Send y Sync para la función ConVec(T)
References
| https://rustsec.org/advisories/RUSTSEC-2020-0125.html | advisory, third-party-advisory, web | |
| https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/convec/RUSTSEC-2020-0125.md | third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2020-36445 | advisory | |
| https://github.com/krl/convec | package | |
| https://crates.io/crates/convec | package | |
| https://github.com/krl/convec/issues/2 | report | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2020-36445 changed 2024-08-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-rpxm-vmr7-5f5f changed 2023-11-08 | CC-BY-4.0 |
| RustSec Advisory Database | RUSTSEC-2020-0125 changed 2023-11-08 | CC0-1.0 |
| NVD | CVE-2020-36445 changed 2026-06-17 | Public domain |