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

EcosystemPackageFixed inAdvisory
Debian:12rust-xcb1.1.1-1DEBIAN-CVE-2021-26955
Debian:13rust-xcb1.1.1-1DEBIAN-CVE-2021-26955
Debian:14rust-xcb1.1.1-1DEBIAN-CVE-2021-26955
Ubuntu:22.04:LTSrust-xcbno fix listedUBUNTU-CVE-2021-26955

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

References