{"id":"RUSTSEC-2023-0046","summary":"Misaligned pointer dereference in `ChunkId::new`","details":"The function `ChunkId::new` creates a misaligned pointer by casting mutable pointer of `u8` slice which has alignment 1 to the mutable pointer of `u32` which has alignment 4, and dereference the misaligned pointer leading UB, which should not be allowed in safe function.","aliases":["GHSA-g753-ghr7-q33w"],"modified":"2023-11-08T04:19:22.223054Z","published":"2023-06-15T12:00:00Z","database_specific":{"license":"CC0-1.0"},"references":[{"type":"PACKAGE","url":"https://crates.io/crates/cyfs-base"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2023-0046.html"},{"type":"REPORT","url":"https://github.com/buckyos/CYFS/issues/275"}],"affected":[{"package":{"name":"cyfs-base","ecosystem":"crates.io","purl":"pkg:cargo/cyfs-base"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"}]}],"ecosystem_specific":{"affects":{"os":[],"functions":[],"arch":[]},"affected_functions":null},"database_specific":{"informational":"unsound","categories":[],"source":"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2023-0046.json","cvss":null}}],"schema_version":"1.7.3"}