Advisory

RUSTSEC-2023-0046

Also known as: 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.

Severity

Not rated by the source.

Dates

Published
2023-06-15 12:00 UTC
Modified
2023-11-08 04:19 UTC

Affected packages and fixes

cyfs-base

crates.io · All systems

Affected

  • introduced 0.0.0-0 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: RustSec Advisory Database · CC0-1.0

Sources & licences