PT-2020-17576 · Rust · Xcb
Published
2020-12-10
·
Updated
2021-08-25
·
CVE-2020-36205
CVSS v3.1
5.5
Medium
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
xcb crate through 2020-12-10
Description
An issue was discovered in the xcb crate for Rust. The
base::Error type does not have soundness due to its public ptr field, which can lead to a use-after-free or double-free error. This occurs because the ptr field can be manipulated to create a base::Error with an invalid pointer, triggering memory safety errors.Recommendations
For versions of the xcb crate through 2020-12-10, users are advised not to manipulate the
ptr field of the base::Error type to prevent memory safety errors such as use-after-free or double-free.
At the moment, there is no information about a newer version that contains a fix for this vulnerability.Exploit
Double Free
Use After Free
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Xcb