Files
advisory-db/crates/xcb/RUSTSEC-2020-0097.md
Yechan Bae b724f12a5b Update CVE numbers (#777)
* Update CVE numbers

* Fix RUSTSEC-2020-0093

* Add another alias for async-h1 crate
2021-02-25 20:00:25 -05:00

599 B

[advisory]
id = "RUSTSEC-2020-0097"
package = "xcb"
aliases = ["CVE-2020-36205"]
date = "2020-12-10"
url = "https://github.com/rtbo/rust-xcb/issues/93"
categories = ["memory-corruption", "thread-safety"]
informational = "unsound"

[versions]
patched = []

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.