GHSA-g753-ghr7-q33w
MEDIUMcyfs-base vulnerable to misaligned pointer dereference in `ChunkId::new`
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.
- Published
- 15 Jun 2023
- Last modified
- 8 Nov 2023
- Also known as
- RUSTSEC-2023-0046
- Sources
- OSVJSONOSV RUSTSEC-2023-0046JSON
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | crates.io | cyfs-base | <= 0.6.12 | |
| OSV | crates.io | cyfs-base | >= 0.0.0-0 |
References
- https://github.com/buckyos/CYFS/issues/275 · WEB, REPORT
- https://github.com/buckyos/CYFS/commit/e030188895096fd8d91d48753877729f4d37dd24 · WEB
- https://github.com/buckyos/CYFS · PACKAGE
- https://rustsec.org/advisories/RUSTSEC-2023-0046.html · WEB, ADVISORY
- https://crates.io/crates/cyfs-base · PACKAGE
History
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 15 Jun 2023)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 22 Jun 2023)