Debian Security Tracker
DEBIAN-CVE-2021-26958
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
| Ecosystem | Package | Affected versions |
|---|---|---|
| Debian:12 | rust-xcb | All versions before 1.1.1-1 (fixed in 1.1.1-1) |
| Debian:13 | rust-xcb | All versions before 1.1.1-1 (fixed in 1.1.1-1) |
| Debian:14 | rust-xcb | All versions before 1.1.1-1 (fixed in 1.1.1-1) |