ADVISORIES

GitHub Advisory Database

GHSA-3cj3-jrrp-9rxf

Unchecked Return Value in xcb

Details

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.

Affected packages

EcosystemPackageAffected versions
crates.ioxcb
All versions before 1.0.0 (fixed in 1.0.0)

References