Vulnerability · Published Feb 9, 2021 · Assigned by mitre
CVE-2021-26955
Critical 9.8
In plain English
A critical-severity security flaw in the rust-xcb package (Debian). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.7% (higher than 78% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)9.8Critical
Exploit odds (30 days)1.7%top 22.1% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official 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 & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | rust-xcb | 1.1.1-1 | DEBIAN-CVE-2021-26955 |
| Debian:13 | rust-xcb | 1.1.1-1 | DEBIAN-CVE-2021-26955 |
| Debian:14 | rust-xcb | 1.1.1-1 | DEBIAN-CVE-2021-26955 |
| Ubuntu:22.04:LTS | rust-xcb | no fix listed | UBUNTU-CVE-2021-26955 |
Affected products (as reported)
References
- https://rustsec.org/advisories/RUSTSEC-2021-0019.html x_refsource_MISC