Security mailing lists by PureSourceCode

GHSA-g753-ghr7-q33w

MEDIUM

cyfs-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

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV crates.io cyfs-base <= 0.6.12
OSV crates.io cyfs-base >= 0.0.0-0

References

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)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.