GitHub Advisoryadvisory · crates.io
GHSA-rw2c-c256-3r53 Data races in hashconsing
HIGH
Official page ↗
- Aliases
- CVE-2020-36215
- Ecosystem
- crates.io
- Packages
- hashconsing
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-662, CWE-787
- Reviewed
- 2021-08-19
Affected packages
• crates.io hashconsing: < 1.1.0 → fixed in 1.1.0
Description
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.
Related
Alias · CVE (1)
- CVE-2020-36215 An issue was discovered in the hashconsing crate before 1.1.0 for Rust. vulnerability