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.
Advisories
Source ID Title
EUVD EUVD EUVD-2021-1543 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.
Github GHSA Github GHSA GHSA-3cj3-jrrp-9rxf Unchecked Return Value in xcb
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2024-08-03T20:33:41.566Z

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

Link: CVE-2021-26958

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

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

Modified: 2024-11-21T05:57:07.430

Link: CVE-2021-26958

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.