{"id":"RUSTSEC-2019-0035","summary":"Unaligned memory access","details":"Affected versions of this crate violated alignment when casting byte slices to\ninteger slices, resulting in undefined behavior.\n\nThe flaw was corrected by Ralf Jung and Diggory Hardy.","aliases":["CVE-2020-25576","GHSA-mmc9-pwm7-qj5w"],"modified":"2023-11-08T04:03:10.161773Z","published":"2019-04-19T12:00:00Z","database_specific":{"license":"CC0-1.0"},"references":[{"type":"PACKAGE","url":"https://crates.io/crates/rand_core"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2019-0035.html"},{"type":"WEB","url":"https://github.com/rust-random/rand/blob/master/rand_core/CHANGELOG.md#050---2019-06-06"}],"affected":[{"package":{"name":"rand_core","ecosystem":"crates.io","purl":"pkg:cargo/rand_core"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"},{"fixed":"0.3.1"},{"introduced":"0.4.0-0"},{"fixed":"0.4.2"}]}],"ecosystem_specific":{"affects":{"arch":[],"os":[],"functions":["rand_core::BlockRng::fill_bytes","rand_core::BlockRng::next_u64"]},"affected_functions":null},"database_specific":{"informational":"unsound","cvss":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","categories":[],"source":"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2019-0035.json"}}],"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"}]}