RUSTSEC-2020-0097
Dashboard / Vulnerabilities / RUSTSEC-2020-0097
RUSTSEC-2020-0097
Published: 10 Dec 2020Last Modified: 8 Nov 2023
Aliases:
Summary: 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.
References: https://crates.io/crates/xcb, https://rustsec.org/advisories/RUSTSEC-2020-0097.html, https://github.com/rust-x-bindings/rust-xcb/issues/93
Affected packages
Package
Name: xcb
Purl: pkg:cargo/xcb
Affected ranges
Type: SEMVER
Events:
Introduced- 0.0.0-0
Fixed -1.0.0
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
