{"id":"RUSTSEC-2019-0035","revision":"20d50b5df66d47bfb75056ddff8032bd","records":[{"revision":"20d50b5df66d47bfb75056ddff8032bd","observedAt":"2026-10-24T13:19:54.901+00:00","statement":{"source":"osv","id":"RUSTSEC-2019-0035","aliases":["CVE-2020-25576","GHSA-mmc9-pwm7-qj5w"],"title":"Unaligned memory access","description":"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.","state":0,"publishedAt":"2019-04-19T12:00:00+00:00","modifiedAt":"2023-11-08T04:03:10.161773+00:00","affected":[{"ecosystem":"crates.io","name":"rand_core","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0.0.0-0"},{"kind":"fixed","version":"0.3.1"},{"kind":"introduced","version":"0.4.0-0"},{"kind":"fixed","version":"0.4.2"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":null,"severity":null}],"references":["https://crates.io/crates/rand_core","https://rustsec.org/advisories/RUSTSEC-2019-0035.html","https://github.com/rust-random/rand/blob/master/rand_core/CHANGELOG.md#050---2019-06-06"],"sourceUrl":"https://osv.dev/vulnerability/RUSTSEC-2019-0035","license":"OSV · upstream source license applies","key":"osv:RUSTSEC-2019-0035","identifiers":["RUSTSEC-2019-0035","CVE-2020-25576","GHSA-mmc9-pwm7-qj5w"]},"retained":false,"historicalAffected":[]}],"coverage":[]}