همهٔ گزارش‌ها
بحرانی

Arbitrary return types in xcb

متن اصلی

نسخه‌های متأثر

Rust / Cargoxcb
نسخه‌های متأثر
< 1.0.0
نسخهٔ اصلاح‌شده
1.0.0

بهره‌برداری

CVE-2021-26956

احتمال بهره‌برداری در ۳۰ روز آینده: 1.75%

FIRST EPSS · ۱۴۰۵/۰۸/۲۹

شرح آسیب‌پذیری

The function xcb::xproto::GetPropertyReply::value() returns a slice of type T where T is an unconstrained type parameter. The raw bytes received from the X11 server are interpreted as the requested type. The users of the xcb crate are advised to only call this function with the intended types. These are u8, u16, and u32.

This issue is tracked here: https://github.com/rust-x-bindings/rust-xcb/issues/95

پیوندها