PT-2025-46132

تاريخ النشر

2025-10-21

·

تاريخ التحديث

2025-10-21

الوصف من

الدرجة
N/A
غير متوفر

لا تتوفر حاليًا تقييمات أو مقاييس للخطورة. سنحدّث المعلومات المقابلة في الصفحة فور توفرها.

The safe function any as u8 slice can create byte slices that reference uninitialized memory when used with types containing padding bytes.
The function uses slice::from raw parts to create a &[u8] covering the entire size of a type, including padding bytes. According to Rust's documentation, from raw parts requires all bytes to be properly initialized, but padding bytes in structs are not guaranteed to be initialized. This violates the safety contract and causes undefined behavior.
المورّدون
المنتجات المتأثرة
المعرّفات ذات الصلة
RUSTSEC-2025-0107
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾