{ "schema_version": "1.4.0", "id": "GHSA-3288-cwgw-ch86", "modified": "2021-08-19T17:44:05Z", "published": "2021-08-25T20:53:22Z", "aliases": [ "CVE-2021-26955" ], "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 xcb::xproto::GetAtomNameReply::name() calls std::str::from_utf8_unchecked() on unvalidated bytes from an X server.", "severity": [ { "type": "CVSS_V3", "score": "CVSS:3.1/AV:N/AC:L/PR:N/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-26955" }, { "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": "CRITICAL", "github_reviewed": true, "github_reviewed_at": "2021-08-19T17:44:05Z", "nvd_published_at": null } }