# CVE-2021-28037: RUSTSEC-2021-0036 - Intern<T>: Data race allowed on T

Source: https://junglewise.ai/threats/cve-2021-28037-data-race-in-internment  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2021-03-03  
License: CC BY 4.0 with a link back

CVE-2021-28037 · Severity: low · CVSS 3.1 · Published 2021-03-03

Intern<T>: Data race allowed on T

Technologies: [internment (crates.io)](https://junglewise.ai/threats/technologies/internment). Vendors: [crates.io](https://junglewise.ai/threats/vendors/crates-io).

## Quick answers

**Is CVE-2021-28037 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2021-28037 being exploited in the wild.

**How severe is CVE-2021-28037?** Low severity, with a CVSS score of 3.1, published 3 March 2021.

**Which products and versions are affected?** internment (crates.io) SEMVER:introduced=0,fixed=0.4.2, SEMVER:introduced=0.0.0-0,fixed=0.4.2.

**Is there a fix for CVE-2021-28037?** Yes. internment (crates.io): upgrade to 0.4.2 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2021-28037?** Check whether you run internment (crates.io) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- internment (crates.io): upgrade to 0.4.2 or later

  ```sh
  cargo update -p internment
  ```


## Affected products

- internment (crates.io) SEMVER:introduced=0,fixed=0.4.2, SEMVER:introduced=0.0.0-0,fixed=0.4.2

## Identifiers

- CVE-2021-28037
- GHSA-gppw-3h6h-v6q2
- RUSTSEC-2021-0036

## Related threats

- [arrayref crate malicious dependency code execution at build time](https://junglewise.ai/threats/cve-2026-77651-arrayref-crate-malicious-dependency-code-execution-at-build-time)
- [append-only-vec crate malicious build script supply chain attack](https://junglewise.ai/threats/cve-2026-77650-append-only-vec-crate-malicious-build-script-supply-chain-attack)
- [internment Rust crate malicious dependency injection](https://junglewise.ai/threats/cve-2026-77649-internment-rust-crate-malicious-dependency-injection)
- [RUSTSEC-2026-0266 - `internment` 0.8.7 was removed from crates.io due to a malicious dependency](https://junglewise.ai/threats/rustsec-2026-0266-internment-0-8-7-was-removed-from-crates-io-due-to-a-8642dfec)
- [RUSTSEC-2020-0017 - Use after free in ArcIntern::drop](https://junglewise.ai/threats/cve-2020-35874-use-after-free-in-internment)
