Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. hashconsing
  4. ›
  5. CVE-2020-36215

CVE-2020-36215: Data races in hashconsing

August 25, 2021 (updated June 13, 2023)

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.

References

  • github.com/AdrienChampion/hashconsing
  • github.com/AdrienChampion/hashconsing/issues/1
  • github.com/advisories/GHSA-rw2c-c256-3r53
  • nvd.nist.gov/vuln/detail/CVE-2020-36215
  • rustsec.org/advisories/RUSTSEC-2020-0107.html

Code Behaviors & Features

Detect and mitigate CVE-2020-36215 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.1.0

Fixed versions

  • 1.1.0

Solution

Upgrade to version 1.1.0 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-662: Improper Synchronization
  • CWE-787: Out-of-bounds Write

Source file

cargo/hashconsing/CVE-2020-36215.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:13 +0000.