{"id":"RUSTSEC-2020-0102","summary":"LateStatic has incorrect Sync bound","details":"Affected versions of this crate implemented `Sync` for `LateStatic` with `T: Send`, so that it is possible to create a data race to a type `T: Send + !Sync` (e.g. `Cell\u003cT\u003e`).\n\nThis can result in a memory corruption or other kinds of undefined behavior.\n\nThe flaw was corrected in commit 11f396c by replacing the `T: Send` bound to `T: Sync` bound in the `Sync` impl for `LateStatic\u003cT\u003e`.","aliases":["CVE-2020-36209","GHSA-wr55-mf5c-hhwm"],"modified":"2023-11-08T04:03:41.659377Z","published":"2020-11-10T12:00:00Z","database_specific":{"license":"CC0-1.0"},"references":[{"type":"PACKAGE","url":"https://crates.io/crates/late-static"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2020-0102.html"},{"type":"REPORT","url":"https://github.com/Richard-W/late-static/issues/1"}],"affected":[{"package":{"name":"late-static","ecosystem":"crates.io","purl":"pkg:cargo/late-static"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"},{"fixed":"0.4.0"}]}],"ecosystem_specific":{"affects":{"os":[],"arch":[],"functions":[]},"affected_functions":null},"database_specific":{"categories":["memory-corruption","thread-safety"],"source":"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2020-0102.json","informational":null,"cvss":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}