UBUNTU-CVE-2021-26955

Source
https://ubuntu.com/security/CVE-2021-26955
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-26955.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2021-26955
Related
Published
2021-02-09T23:15:00Z
Modified
2024-10-15T14:08:04Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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::fromutf8unchecked() on unvalidated bytes from an X server.

References

Affected packages

Ubuntu:22.04:LTS / rust-xcb

Package

Name
rust-xcb
Purl
pkg:deb/ubuntu/rust-xcb?arch=src?distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.9.0-2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.10 / rust-xcb

Package

Name
rust-xcb
Purl
pkg:deb/ubuntu/rust-xcb?arch=src?distro=oracular

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

1.2.2-1
1.4.0-1
1.4.0-2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.04:LTS / rust-xcb

Package

Name
rust-xcb
Purl
pkg:deb/ubuntu/rust-xcb?arch=src?distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

1.2.1-3
1.2.2-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}