Soundness Violation in xcb Crate: Arbitrary Type Transmutation Vulnerability

Soundness Violation in xcb Crate: Arbitrary Type Transmutation Vulnerability

CVE-2021-26958 · HIGH Severity

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

An issue was discovered in the xcb crate through 2021-02-04 for Rust. It has a soundness violation because transmutation to the wrong type can happen after xcb::base::cast_event uses std::mem::transmute to return a reference to an arbitrary type.

Learn more about our Web Application Penetration Testing UK.