{"id":"GHSA-3288-cwgw-ch86","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.","aliases":["CVE-2021-26955","CVE-2021-26956","CVE-2021-26957","CVE-2021-26958","GHSA-2xpg-3hx4-fm9r","GHSA-3cj3-jrrp-9rxf","GHSA-mp6r-fgw2-rxfx","RUSTSEC-2021-0019"],"modified":"2024-03-15T00:05:17.174146Z","published":"2021-08-25T20:53:22Z","database_specific":{"severity":"CRITICAL","nvd_published_at":null,"github_reviewed":true,"github_reviewed_at":"2021-08-19T17:44:05Z","cwe_ids":["CWE-252"]},"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"}],"affected":[{"package":{"name":"xcb","ecosystem":"crates.io","purl":"pkg:cargo/xcb"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.0.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-3288-cwgw-ch86/GHSA-3288-cwgw-ch86.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}