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
Link Resource
https://rustsec.org/advisories/RUSTSEC-2021-0019.html Exploit Vendor Advisory
History

No history.

cve-icon MITRE Information

Status: PUBLISHED

Assigner: mitre

Published: 2021-02-09T22:07:10

Updated: 2021-02-09T22:07:10

Reserved: 2021-02-09T00:00:00


Link: CVE-2021-26958

JSON object: View

cve-icon NVD Information

Status : Analyzed

Published: 2021-02-09T23:15:14.383

Modified: 2021-02-18T14:53:40.330


Link: CVE-2021-26958

JSON object: View

cve-icon Redhat Information

No data.

CWE