CVE-2020-36215
JSON

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 packageVersionsReported by
Unspecified productn/aCVE List
hashconsing (crates.io)before 1.1.0, from 0.0.0-0 before 1.1.0GitHub Advisory Database, RustSec Advisory Database
hashconsing_project hashconsingbefore 1.1.0NVD

All scores

GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
RustSec Advisory Database7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD5.0medium CVSS:2.0AV: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

Sources

SourceRecordLicence
CVE ListCVE-2020-36215 changed 2024-08-04CVE Terms of Use
GitHub Advisory DatabaseGHSA-rw2c-c256-3r53 changed 2023-11-08CC-BY-4.0
RustSec Advisory DatabaseRUSTSEC-2020-0107 changed 2023-11-08CC0-1.0
NVDCVE-2020-36215 changed 2026-06-17Public domain