Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. cyfs-base
  4. ›
  5. GHSA-g753-ghr7-q33w

GHSA-g753-ghr7-q33w: cyfs-base vulnerable to misaligned pointer dereference in `ChunkId::new`

June 22, 2023

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.

References

  • github.com/advisories/GHSA-g753-ghr7-q33w
  • github.com/buckyos/CYFS
  • github.com/buckyos/CYFS/commit/e030188895096fd8d91d48753877729f4d37dd24
  • github.com/buckyos/CYFS/issues/275
  • rustsec.org/advisories/RUSTSEC-2023-0046.html

Code Behaviors & Features

Detect and mitigate GHSA-g753-ghr7-q33w with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions up to 0.6.12

Solution

Unfortunately, there is no solution available yet.

Source file

cargo/cyfs-base/GHSA-g753-ghr7-q33w.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:54 +0000.