{ "schema_version": "1.4.0", "id": "GHSA-3cj3-jrrp-9rxf", "modified": "2021-08-19T17:44:11Z", "published": "2021-08-25T20:53:18Z", "aliases": [ "CVE-2021-26958" ], "summary": "Unchecked Return Value in xcb", "details": "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.", "severity": [ { "type": "CVSS_V3", "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H" } ], "affected": [ { "package": { "ecosystem": "crates.io", "name": "xcb" }, "ranges": [ { "type": "ECOSYSTEM", "events": [ { "introduced": "0" }, { "fixed": "1.0.0" } ] } ] } ], "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-26958" }, { "type": "WEB", "url": "https://github.com/RustSec/advisory-db/issues/653" }, { "type": "PACKAGE", "url": "https://github.com/rtbo/rust-xcb" }, { "type": "WEB", "url": "https://rustsec.org/advisories/RUSTSEC-2021-0019.html" } ], "database_specific": { "cwe_ids": [ "CWE-252" ], "severity": "HIGH", "github_reviewed": true, "github_reviewed_at": "2021-08-19T17:44:11Z", "nvd_published_at": null } }