Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. internment
  4. ›
  5. CVE-2021-28037

CVE-2021-28037: Data race in internment

August 25, 2021

An issue was discovered in the internment crate before 0.4.2 for Rust. There is a data race that can cause memory corruption because of the unconditional implementation of Sync for Intern.

References

  • github.com/advisories/GHSA-gppw-3h6h-v6q2
  • github.com/droundy/internment
  • github.com/droundy/internment/issues/20
  • nvd.nist.gov/vuln/detail/CVE-2021-28037
  • rustsec.org/advisories/RUSTSEC-2021-0036.html

Code Behaviors & Features

Detect and mitigate CVE-2021-28037 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 0.4.2

Fixed versions

  • 0.4.2

Solution

Upgrade to version 0.4.2 or above.

Impact 9.8 CRITICAL

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

Learn more about CVSS

Weakness

  • CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

Source file

cargo/internment/CVE-2021-28037.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:16:48 +0000.