High severityNVD Advisory· Published Feb 9, 2021· Updated Aug 3, 2024
CVE-2021-26958
CVE-2021-26958
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
xcbcrates.io | < 1.0.0 | 1.0.0 |
Affected products
2- Rust/xcbdescription
Patches
Vulnerability mechanics
References
4- github.com/advisories/GHSA-3cj3-jrrp-9rxfghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2021-26958ghsaADVISORY
- github.com/RustSec/advisory-db/issues/653ghsaWEB
- rustsec.org/advisories/RUSTSEC-2021-0019.htmlghsax_refsource_MISCWEB
News mentions
0No linked articles in our index yet.