GitHub Advisoryadvisory · crates.io

GHSA-2xpg-3hx4-fm9r Out of bounds read in xcb

CRITICAL Published 2021-08-25 Modified 2021-08-19 Official page ↗
Aliases
CVE-2021-26957
Ecosystem
crates.io
Packages
xcb
Severity
Critical
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-125
Reviewed
2021-08-19

Affected packages

• crates.io xcb: < 1.0.0 → fixed in 1.0.0

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.

Related

Alias · CVE (1)

  • CVE-2021-26957 An issue was discovered in the xcb crate through 2021-02-04 for Rust. vulnerability

Weakness · CWE (1)

  • CWE-125 Out-of-bounds Read weakness

References