{"id":"CVE-2021-28037","published":"2021-03-05T08:38:34Z","modified":"2024-08-03T21:33:17Z","title":"An issue was discovered in the internment crate before 0.4.2 for Rust","vendor":null,"product":null,"tier":"tail","description":{"text":"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>.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01295,"percentile":0.71045,"provenance":"source"},"cwes":[],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2021-0036.html","tags":["x_refsource_MISC"]}],"priority":{"score":14.2,"factors":[{"name":"EPSS percentile","points":14.21}]},"affected":[{"ecosystem":"crates.io","package":"internment","vulnerableRanges":["<0.4.2",">=0.0.0-0, <0.4.2"],"patched":["0.4.2"],"from":["GHSA-gppw-3h6h-v6q2","RUSTSEC-2021-0036"],"provenance":"source"}],"summary":{"text":"The internment crate for Rust, in versions before 0.4.2, contains a data race in its Intern<T> type, which implements Sync unconditionally. An attacker able to use the affected Intern<T> across threads can trigger memory corruption.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:50:45Z"},"euvd":{"id":"EUVD-2021-1727","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2020-35874","published":"2020-12-31","fixed":"0.4.0","kev":false,"link":{"from":"CVE-2020-35874","to":"CVE-2021-28037","relation":"successor","confidence":"medium","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"crates.io:internment","fromFixed":"0.4.0","toFixed":"0.4.2","daysApart":64},{"kind":"similar","provenance":"machine","score":0.5,"basis":"same package + description similarity"}]}},{"cve":"CVE-2021-28037","published":"2021-03-05","fixed":"0.4.2","kev":false}],"package":"crates.io:internment"}}