{"id":"GHSA-r57r-j98g-587f","summary":"Pointer dereference in nanorand","details":"An issue was discovered in the nanorand crate before 0.6.1 for Rust. There can be multiple mutable references to the same object because the TlsWyRand Deref implementation dereferences a raw pointer.","aliases":["CVE-2021-45705","GHSA-p6gj-gpc8-f8xw","RUSTSEC-2021-0114"],"modified":"2023-11-08T04:07:22.929289Z","published":"2022-01-06T22:08:56Z","database_specific":{"severity":"CRITICAL","github_reviewed":true,"github_reviewed_at":"2022-01-05T23:20:00Z","nvd_published_at":"2021-12-27T00:15:00Z","cwe_ids":[]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-45705"},{"type":"WEB","url":"https://github.com/Absolucy/nanorand-rs/issues/28"},{"type":"PACKAGE","url":"https://github.com/Absolucy/nanorand-rs"},{"type":"WEB","url":"https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/nanorand/RUSTSEC-2021-0114.md"},{"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/01/GHSA-r57r-j98g-587f/GHSA-r57r-j98g-587f.json"}}],"schema_version":"1.9.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"}]}