7.5high
Data races in hashconsing
- Severity
- 7.5high CVSS:3.1 by NVD
- Exploit likelihood
- 1.38% (higher than 72% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-rw2c-c256-3r53RUSTSEC-2020-0107
Description
An issue was discovered in the hashconsing crate before 1.1.0 for Rust. Because HConsed does not have bounds on its Send trait or Sync trait, memory corruption can occur.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| hashconsing (crates.io) | before 1.1.0, from 0.0.0-0 before 1.1.0 | GitHub Advisory Database, RustSec Advisory Database |
| hashconsing_project hashconsing | before 1.1.0 | NVD |
All scores
| GitHub | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| RustSec Advisory Database | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 5.0medium CVSS:2.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Classification
What each source says
CVE List
An issue was discovered in the hashconsing crate before 1.1.0 for Rust. Because HConsed does not have bounds on its Send trait or Sync trait, memory corruption can occur.
GitHub Advisory Database
Affected versions of hashconsing implements Send/Sync for its HConsed type without restricting it to Sendable types and Syncable types. This allows non-Sync types such as Cell to be shared across threads leading to undefined behavior and memory corruption in concurrent programs.
RustSec Advisory Database
Affected versions of hashconsing implements Send/Sync for its HConsed type without restricting it to Sendable types and Syncable types.
This allows non-Sync types such as Cell to be shared across threads leading to undefined behavior and memory corruption in concurrent programs.
NVD (es)
Se detectó un problema en la crate hashconsing versiones anteriores a 1.1.0 para Rust. Debido a que HConsed no posee límites en su atributo Send o Sync, una corrupción de la memoria puede ocurrir
References
| https://rustsec.org/advisories/RUSTSEC-2020-0107.html | advisory, exploit, vendor-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2020-36215 | advisory | |
| https://github.com/AdrienChampion/hashconsing/issues/1 | report, web | |
| https://github.com/AdrienChampion/hashconsing | package | |
| https://crates.io/crates/hashconsing | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2020-36215 changed 2024-08-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-rw2c-c256-3r53 changed 2023-11-08 | CC-BY-4.0 |
| RustSec Advisory Database | RUSTSEC-2020-0107 changed 2023-11-08 | CC0-1.0 |
| NVD | CVE-2020-36215 changed 2026-06-17 | Public domain |