xcb
Affected
- introduced
0, fixed1.0.0(semver)
Fixed versions
1.0.0
Fix
- Fixed version
1.0.0cargo update -p xcb --precise 1.0.0
Advisory
Also known as: CVE-2021-26955, CVE-2021-26956, CVE-2021-26957, CVE-2021-26958, GHSA-2xpg-3hx4-fm9r, GHSA-3288-cwgw-ch86, GHSA-3cj3-jrrp-9rxf, RUSTSEC-2021-0019
Arbitrary return types in xcb
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
Critical Basis: The source's own band: CRITICAL
0, fixed 1.0.0 (semver)1.0.0
1.0.0cargo update -p xcb --precise 1.0.0Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0