Files
vuln-osv/data/crates.io/RUSTSEC-2021-0036.json
T

1 line
1.4 KiB
JSON

{"schema_version":"1.7.3","id":"RUSTSEC-2021-0036","published":"2021-03-03T12:00:00Z","modified":"2023-11-08T04:05:28.032734Z","aliases":["CVE-2021-28037","GHSA-gppw-3h6h-v6q2"],"summary":"Intern<T>: Data race allowed on T","details":"Affected versions of this crate unconditionally implements `Sync` for `Intern<T>`.\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<T>`.","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":{"affected_functions":null,"affects":{"arch":[],"functions":[],"os":[]}},"database_specific":{"categories":["thread-safety"],"cvss":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","informational":null,"source":"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2021-0036.json"}}],"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"}],"database_specific":{"license":"CC0-1.0"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}