Advisory

GHSA-2xpg-3hx4-fm9r

Also known as: CVE-2021-26955, CVE-2021-26956, CVE-2021-26957, CVE-2021-26958, GHSA-3288-cwgw-ch86, GHSA-3cj3-jrrp-9rxf, GHSA-mp6r-fgw2-rxfx, RUSTSEC-2021-0019

Summary

Out of bounds read in xcb

Details

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.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2021-08-25 20:53 UTC
Modified
2024-03-15 00:05 UTC

Affected packages and fixes

xcb

crates.io · All systems

Affected

  • introduced 0, fixed 1.0.0 (semver)

Fixed versions

1.0.0

Fix

  • Fixed version 1.0.0
    cargo update -p xcb --precise 1.0.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences