~ / search / GHSA-3cj3-jrrp-9rxf

GHSA-3cj3-jrrp-9rxf

Unchecked Return Value in xcb

Source: GitHub Advisory Database (reviewed) High CVE-2021-26958

Packages

EcosystemPackageAffectedFixed in
crates.io xcb < 1.0.0 1.0.0

Details

As written in the advisory (Markdown source, shown as plain text).

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.

References

External links from the advisory. They lead to third-party sites.