CVE-2021-26955

NameCVE-2021-26955
DescriptionAn 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
rust-xcb (PTS)bookworm1.2.0-1fixed
sid, trixie1.4.0-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
rust-xcbsource(unstable)1.1.1-1

Notes

https://rustsec.org/advisories/RUSTSEC-2021-0019.html

Search for package or bug name: Reporting problems