GHSA-mp6r-fgw2-rxfx
Dashboard / Vulnerabilities / GHSA-mp6r-fgw2-rxfx
GHSA-mp6r-fgw2-rxfx
Summary: Arbitrary return types in xcb
Details: 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
References: https://nvd.nist.gov/vuln/detail/CVE-2021-26956, https://github.com/RustSec/advisory-db/issues/653, https://github.com/rust-x-bindings/rust-xcb/issues/95, https://github.com/rtbo/rust-xcb, https://rustsec.org/advisories/RUSTSEC-2021-0019.html
Affected packages
Package
Name: xcb
Purl: pkg:cargo/xcb
Affected ranges
Type: SEMVER
Events:
