CVE Vulnerabilities

CVE-2020-36205

Double Free

Published: Jan 26, 2021 | Modified: Nov 21, 2024
CVSS 3.x
5.5
MEDIUM
Source:
NVD
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
2.1 LOW
AV:L/AC:L/Au:N/C:N/I:N/A:P
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

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.

Weakness

The product calls free() twice on the same memory address.

Affected Software

NameVendorStart VersionEnd Version
XcbXcb_project*2020-12-10 (including)
Rust-xcbUbuntuesm-apps/jammy*
Rust-xcbUbuntugroovy*
Rust-xcbUbuntuhirsute*
Rust-xcbUbuntuimpish*
Rust-xcbUbuntujammy*
Rust-xcbUbuntukinetic*
Rust-xcbUbuntulunar*
Rust-xcbUbuntumantic*
Rust-xcbUbuntuoracular*
Rust-xcbUbuntutrusty*
Rust-xcbUbuntuupstream*

Potential Mitigations

References