CVE-2021-26955
An issue was discovered in the xcb crate through 2021-02-04 for Rust. ...
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA.
Description
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 and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| cargo::GitHub Security Advisory Rust | xcb | 1.0.0 |
| debian 12 | rust-xcb | 1.1.1-1 |
| debian 13 | rust-xcb | 1.1.1-1 |
| debian 14 | rust-xcb | 1.1.1-1 |
| echo | rust-xcb | 1.1.1-1 |