{"id":"RUSTSEC-2021-0036","summary":"Intern\u003cT\u003e: Data race allowed on T","details":"Affected versions of this crate unconditionally implements `Sync` for `Intern\u003cT\u003e`.\nThis allows users to create data race on `T: !Sync`, which may lead to undefined behavior\n(for example, memory corruption).\n\nThe flaw was corrected in commit 2928a87 by adding the trait bound `T: Sync` in the `Sync` impl of `Intern\u003cT\u003e`.","aliases":["CVE-2021-28037","GHSA-gppw-3h6h-v6q2"],"modified":"2023-11-08T04:05:28.032734Z","published":"2021-03-03T12:00:00Z","database_specific":{"license":"CC0-1.0"},"references":[{"type":"PACKAGE","url":"https://crates.io/crates/internment"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2021-0036.html"},{"type":"REPORT","url":"https://github.com/droundy/internment/issues/20"}],"affected":[{"package":{"name":"internment","ecosystem":"crates.io","purl":"pkg:cargo/internment"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"},{"fixed":"0.4.2"}]}],"ecosystem_specific":{"affects":{"os":[],"arch":[],"functions":[]},"affected_functions":null},"database_specific":{"categories":["thread-safety"],"source":"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2021-0036.json","cvss":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","informational":null}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}