Skip to content

Memory handling issues in xcb

Moderate severity GitHub Reviewed Published Aug 25, 2021 to the GitHub Advisory Database • Updated Feb 13, 2023

Package

cargo xcb (Rust)

Affected versions

< 1.0.0

Patched versions

1.0.0

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.

References

Published by the National Vulnerability Database Jan 26, 2021
Reviewed Aug 19, 2021
Published to the GitHub Advisory Database Aug 25, 2021
Last updated Feb 13, 2023

Severity

Moderate
5.5
/ 10

CVSS base metrics

Attack vector
Local
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CVE ID

CVE-2020-36205

GHSA ID

GHSA-c8hq-x4mm-p6q6

Source code

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.