Skip to content
OpenAdvisories
Medium · 5.5 CVE-2020-36205 EUVD-2021-1676GHSA-c8hq-x4mm-p6q6RUSTSEC-2020-0097

Memory handling issues in xcb

Published Jan 22, 2021 · Updated Aug 4, 2024 · Assigned by mitre

Description

An issue was discovered in the xcb crate through 2020-12-10 for Rust. base::Error does not have soundness. Because of the public ptr field, a use-after-free or double-free can occur.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 rust-xcb 1.1.1-1 —
Debian 13 rust-xcb 1.1.1-1 —
Debian 12 rust-xcb 1.1.1-1 —
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS rust-xcb No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
crates.io xcb < 1.0.0 1.0.0 GHSA-c8hq-x4mm-p6q6
crates.io xcb >= 0.0.0-0, < 1.0.0 1.0.0 RUSTSEC-2020-0097

References