Files
vuln-osv/data/crates.io/RUSTSEC-2023-0046.json
T

1 line
1.2 KiB
JSON

{"schema_version":"1.7.3","id":"RUSTSEC-2023-0046","published":"2023-06-15T12:00:00Z","modified":"2023-11-08T04:19:22.223054Z","aliases":["GHSA-g753-ghr7-q33w"],"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.","affected":[{"package":{"name":"cyfs-base","ecosystem":"crates.io","purl":"pkg:cargo/cyfs-base"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"}]}],"ecosystem_specific":{"affected_functions":null,"affects":{"arch":[],"functions":[],"os":[]}},"database_specific":{"categories":[],"cvss":null,"informational":"unsound","source":"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2023-0046.json"}}],"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"}],"database_specific":{"license":"CC0-1.0"}}