Advisory

GHSA-c8hq-x4mm-p6q6

Also known as: CVE-2020-36205, RUSTSEC-2020-0097

Summary

Memory handling issues in xcb

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2021-08-25 20:50 UTC
Modified
2023-11-08 04:03 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