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.
Metrics
Affected Vendors & Products
Advisories
| Source | ID | Title |
|---|---|---|
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 |
GHSA-3cj3-jrrp-9rxf | Unchecked Return Value in xcb |
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
| Link | Providers |
|---|---|
| https://rustsec.org/advisories/RUSTSEC-2021-0019.html |
|
History
No history.
Status: PUBLISHED
Assigner: mitre
Published:
Updated: 2024-08-03T20:33:41.566Z
Reserved: 2021-02-09T00:00:00
Link: CVE-2021-26958
No data.
Status : Modified
Published: 2021-02-09T23:15:14.383
Modified: 2024-11-21T05:57:07.430
Link: CVE-2021-26958
No data.
OpenCVE Enrichment
No data.
EUVD
Github GHSA