CVE-2021-26957 Out of bounds read in xcb
CriticalCVSS 9.8
EPSS 1.7%
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- UbuntuDebian
Description
An issue was discovered in the xcb crate through 2021-02-04 for Rust. It has a soundness violation because there is an out-of-bounds read in xcb::xproto::change_property(), as demonstrated by a format=32 T=u8 situation where out-of-bounds bytes are sent to an X server.
Upgrade path
6 packages: 5 fixed, 1 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/rust-xcb(Ubuntu 22.04) | = 0.9.0-2; All versions | No fix listed | No fix yet |
| crates.io xcb(crates.io) | < 1.0.0; >= 0.0.0-0, < 1.0.0 | 1.0.0 | Fixed |
| debian/rust-xcb(Debian 12) | < 1.1.1-1 | 1.1.1-1 | Fixed |
| debian/rust-xcb(Debian 13) | < 1.1.1-1 | 1.1.1-1 | Fixed |
| debian/rust-xcb(Debian 14) | < 1.1.1-1 | 1.1.1-1 | Fixed |
| xcb project xcb | <= 2021-02-04 | after 2021-02-04 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| crates.io xcb(crates.io) | < 1.0.0 | 1.0.0 |
| crates.io xcb(crates.io) | >= 0.0.0-0, < 1.0.0 | 1.0.0 |
| debian/rust-xcb(Debian:12) | < 1.1.1-1 | 1.1.1-1 |
| debian/rust-xcb(Debian:13) | < 1.1.1-1 | 1.1.1-1 |
| debian/rust-xcb(Debian:14) | < 1.1.1-1 | 1.1.1-1 |
| xcb project xcb | <= 2021-02-04 | No fix listed |
| ubuntu/rust-xcb(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/rust-xcb(Ubuntu:22.04) | = 0.9.0-2 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com issue-tracking
- rustsec.org exploit issue-tracking vendor-advisory
- github.com
- github.com product
- crates.io product
- github.com issue-tracking
- github.com issue-tracking
- github.com issue-tracking
- github.com issue-tracking
- Debian Security Tracker CVE-2021-26957 vendor-advisory
- Ubuntu CVE tracker issue-tracking vendor-advisory
- www.cve.org issue-tracking