ADVISORIES

GitHub Advisory Database

GHSA-3288-cwgw-ch86

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.

Affected packages

EcosystemPackageAffected versions
crates.ioxcb
All versions before 1.0.0 (fixed in 1.0.0)

References