Description
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.
Analysis and contextual insights are available on OpenCVE Cloud.
Remediation
No vendor fix or workaround currently provided.
Additional remediation guidance may be available on OpenCVE Cloud.
Tracking
Sign in to view the affected projects.
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 |
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.000Z
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.
Weaknesses
EUVD
Github GHSA