CVE-2021-26958

NameCVE-2021-26958
DescriptionAn 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
rust-xcb (PTS)bookworm1.2.0-1fixed
sid, trixie1.4.0-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
rust-xcbsource(unstable)1.1.1-1

Notes

https://rustsec.org/advisories/RUSTSEC-2021-0019.html

Search for package or bug name: Reporting problems