Out-of-bounds Read Affecting rust-xcb package, versions <1.1.1-1


Severity

Recommended
0.0
critical
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
1.71% (77th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN13-RUSTXCB-5694976
  • published10 Feb 2021
  • disclosed9 Feb 2021

Introduced: 9 Feb 2021

CVE-2021-26957  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade Debian:13 rust-xcb to version 1.1.1-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream rust-xcb package and not the rust-xcb package as distributed by Debian. See How to fix? for Debian:13 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1