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.
Advisories
Source ID Title
EUVD 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 Github GHSA GHSA-3288-cwgw-ch86 Unchecked Return Value in xcb
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

No history.

Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2024-08-03T20:33:41.489Z

Reserved: 2021-02-09T00:00:00

Link: CVE-2021-26955

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2021-02-09T23:15:13.913

Modified: 2024-11-21T05:57:07.003

Link: CVE-2021-26955

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses