~ / search / GHSA-3288-cwgw-ch86

GHSA-3288-cwgw-ch86

Unchecked Return Value in xcb

Source: GitHub Advisory Database (reviewed) Critical CVE-2021-26955

Packages

EcosystemPackageAffectedFixed in
crates.io xcb < 1.0.0 1.0.0

Details

As written in the advisory (Markdown source, shown as plain text).

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.

References

External links from the advisory. They lead to third-party sites.