RustSec Advisory Database
RUSTSEC-2020-0097
Soundness issue with base::Error
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| crates.io | xcb | From 0.0.0-0 before 1.0.0 (fixed in 1.0.0) |