Files
advisory-db/crates/xcb/RUSTSEC-2020-0097.md
Robert Bartlensky c536da77d7 Update RUSTSEC-2020-0097.md (#1600)
This issue has been patched in versions >=v1.0 (see [comment]).

[comment]: https://github.com/rust-x-bindings/rust-xcb/issues/93#issuecomment-966921127
2023-02-13 15:34:01 +01:00

672 B

[advisory]
id = "RUSTSEC-2020-0097"
package = "xcb"
aliases = ["CVE-2020-36205"]
cvss = "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
date = "2020-12-10"
url = "https://github.com/rust-x-bindings/rust-xcb/issues/93"
categories = ["memory-corruption", "thread-safety"]
informational = "unsound"

[versions]
patched = [">= 1.0"]

Soundness issue with base::Error

base::Error type contains public field named ptr. With this definition, it is possible to create a base::Error with an invalid pointer and trigger memory safety errors such as use-after-free or double-free with safe Rust.

The users of xcb crate are advised not to manipulate the field.