CVE-2021-26955
Publication date 9 February 2021
Last updated 21 August 2025
Ubuntu priority
Cvss 3 Severity Score
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.
Status
| Package | Ubuntu Release | Status |
|---|---|---|
| rust-xcb | ||
| 24.04 LTS noble |
Not affected
|
|
| 22.04 LTS jammy | Ignored risk of regression | |
| 20.04 LTS focal | Not in release | |
| 18.04 LTS bionic | Not in release | |
| 16.04 LTS xenial | Not in release | |
| 14.04 LTS trusty | Not in release |
Notes
gianz
the issue was addressed in version 1.0.0, which underwent a complete refactoring and a change in the api. Addressing the issue on versions <1.0.0 is likely to require a version change.
Severity score breakdown
| Parameter | Value |
|---|---|
| Base score |
|
| Attack vector | Network |
| Attack complexity | Low |
| Privileges required | None |
| User interaction | None |
| Scope | Unchanged |
| Confidentiality | High |
| Integrity impact | High |
| Availability impact | High |
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |