Description
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.
Analysis and contextual insights are available on OpenCVE Cloud.
Remediation
No vendor fix or workaround currently provided.
Additional remediation guidance may be available on OpenCVE Cloud.
Tracking
Sign in to view the affected projects.
Advisories
| Source | ID | Title |
|---|---|---|
EUVD |
EUVD-2021-1523 | 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. |
Github GHSA |
GHSA-3288-cwgw-ch86 | Unchecked Return Value in xcb |
References
| Link | Providers |
|---|---|
| https://rustsec.org/advisories/RUSTSEC-2021-0019.html |
|
History
No history.
Status: PUBLISHED
Assigner: mitre
Published:
Updated: 2024-08-03T20:33:41.489Z
Reserved: 2021-02-09T00:00:00.000Z
Link: CVE-2021-26955
No data.
Status : Modified
Published: 2021-02-09T23:15:13.913
Modified: 2024-11-21T05:57:07.003
Link: CVE-2021-26955
No data.
OpenCVE Enrichment
No data.
Weaknesses
EUVD
Github GHSA