# CVE-2021-28037: Data race in internment

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.31%, higher than 71% of CVEs (2026-12-01)
- Published: 2021-03-03T12:00:00.000Z
- Modified: 2026-06-17T03:45:45.617Z
- Also known as: GHSA-gppw-3h6h-v6q2, RUSTSEC-2021-0036
- Weaknesses: CWE-362
- Assigned by: mitre

## Description

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<T>.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- internment (crates.io): before 0.4.2; from 0.0.0-0 before 0.4.2
- internment_project internment: before 0.4.2

## Every score

- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- RustSec Advisory Database: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://rustsec.org/advisories/RUSTSEC-2021-0036.html> (advisory, patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-28037> (advisory)
- <https://github.com/droundy/internment/issues/20> (report, web)
- <https://github.com/droundy/internment> (package)
- <https://crates.io/crates/internment> (package)

## Sources

- CVE List: [CVE-2021-28037](https://www.cve.org/CVERecord?id=CVE-2021-28037), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-gppw-3h6h-v6q2](https://github.com/advisories/GHSA-gppw-3h6h-v6q2), CC-BY-4.0, modified 2023-11-08
- RustSec Advisory Database: [RUSTSEC-2021-0036](https://rustsec.org/advisories/RUSTSEC-2021-0036.html), CC0-1.0, modified 2023-11-08
- NVD: [CVE-2021-28037](https://nvd.nist.gov/vuln/detail/CVE-2021-28037), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-28037 · Whole record: https://cve.day/CVE-2021-28037.json · Rebuilt by cve.day 2026-11-25T22:58:00.156Z
