An issue was discovered in the xcb crate through 2021-02-04 for Rust. It has a soundness violation because xcb::xproto::GetAtomNameReply::name() calls std::str::from_utf8_unchecked() on unvalidated bytes from an X server.
References
Link | Resource |
---|---|
https://rustsec.org/advisories/RUSTSEC-2021-0019.html | Exploit Vendor Advisory |
https://rustsec.org/advisories/RUSTSEC-2021-0019.html | Exploit Vendor Advisory |
Configurations
History
21 Nov 2024, 05:57
Type | Values Removed | Values Added |
---|---|---|
References | () https://rustsec.org/advisories/RUSTSEC-2021-0019.html - Exploit, Vendor Advisory |
Information
Published : 2021-02-09 23:15
Updated : 2024-11-21 05:57
NVD link : CVE-2021-26955
Mitre link : CVE-2021-26955
CVE.ORG link : CVE-2021-26955
JSON object : View
Products Affected
xcb_project
- xcb
CWE
CWE-252
Unchecked Return Value