NetSight
critical9.8

CVE-2021-26955

Unchecked Return Value in xcb

Impact

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.

Affected packages

EcosystemPackageAffectedFixed in
rustxcb< 1.0.01.0.0

Affected products

VendorProductAffected versions
Xcb ProjectXcb
through 2021-02-04

Weakness classification

References