{"id":"GHSA-p6gj-gpc8-f8xw","summary":"Aliased mutable references from `tls_rand` & `TlsWyRand`","details":"`TlsWyRand`'s implementation of `Deref` unconditionally dereferences a raw pointer, and returns \nmultiple mutable references to the same object, which is undefined behavior.\n","aliases":["CVE-2021-45705","GHSA-r57r-j98g-587f","RUSTSEC-2021-0114"],"modified":"2023-11-08T04:07:22.929289Z","published":"2022-06-17T00:13:24Z","database_specific":{"cwe_ids":[],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2022-06-17T00:13:24Z","nvd_published_at":null},"references":[{"type":"WEB","url":"https://github.com/Absolucy/nanorand-rs/issues/28"},{"type":"PACKAGE","url":"https://github.com/Absolucy/nanorand-rs"},{"type":"WEB","url":"https://rustsec.org/advisories/RUSTSEC-2021-0114.html"}],"affected":[{"package":{"name":"nanorand","ecosystem":"crates.io","purl":"pkg:cargo/nanorand"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.5.0"},{"fixed":"0.6.1"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/06/GHSA-p6gj-gpc8-f8xw/GHSA-p6gj-gpc8-f8xw.json"}}],"schema_version":"1.9.0"}