Soundness Violation in xcb::xproto::GetAtomNameReply::name() Allows Unvalidated Bytes from X Server

Soundness Violation in xcb::xproto::GetAtomNameReply::name() Allows Unvalidated Bytes from X Server

CVE-2021-26955 · CRITICAL Severity

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

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.

Learn more about our Cis Benchmark Audit For Server Software.