Vulnerability DatabaseGHSA-g753-ghr7-q33w

GHSA-g753-ghr7-q33w
Rust vulnerability analysis and mitigation

Overview

The vulnerability (GHSA-g753-ghr7-q33w) affects the cyfs-base Rust package, specifically in versions <= 0.6.12. The issue was discovered in the ChunkId::new function, which creates a misaligned pointer by incorrectly casting a mutable pointer of a u8 slice (alignment 1) to a mutable pointer of u32 (alignment 4). This vulnerability was reported on June 15, 2023, and published to the GitHub Advisory Database on June 22, 2023 (GitHub Advisory, RustSec Advisory).

Technical details

The vulnerability occurs in the ChunkId::new function implementation where an unsafe pointer casting operation leads to undefined behavior (UB). The function attempts to dereference a misaligned pointer, which violates memory alignment requirements in Rust. Specifically, it tries to cast a u8 slice pointer (1-byte alignment) to a u32 pointer (4-byte alignment) without ensuring proper alignment. This operation is performed in safe code, which should not allow such undefined behavior (GitHub Issue).

Impact

When exploited, this vulnerability causes the program to panic with a "misaligned pointer dereference" error, indicating that the memory address must be a multiple of 0x4. This affects any application attempting to create a new ChunkId using the affected function, potentially leading to program crashes and reliability issues (GitHub Issue).

Mitigation and workarounds

Currently, there are no patched versions available for this vulnerability. Users of cyfs-base version 0.6.12 or earlier should be aware of this issue when using the ChunkId::new function (RustSec Advisory).

Additional resources


SourceThis report was generated using AI

Related Rust vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

GHSA-2fjw-whxm-9v4qCRITICAL9.3
  • RustRust
  • nftnl
NoYesNov 25, 2025
CVE-2025-66017HIGH8.2
  • RustRust
  • cggmp21
NoYesNov 25, 2025
GHSA-mj73-j457-8x9qLOW2.7
  • RustRust
  • maxminddb
NoYesDec 02, 2025
GHSA-pq5v-rwp8-p7gmLOW2.7
  • RustRust
  • rtvm-interpreter
NoNoDec 02, 2025
RUSTSEC-2025-0132N/AN/A
  • RustRust
  • maxminddb
NoYesNov 28, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management