Descrizione
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.
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.
| Fornitore | Prodotto | Versione | Piattaforma |
|---|---|---|---|
| xcb project | xcb | <= 2021-02-04 | rust |
CWE-252 Unchecked Return Value
The product does not check the return value from a method or function.
| Ambito | Impatto |
|---|---|
| Disponibilità, Integrità | Stato imprevisto, Dipende dal contesto, Interruzione del servizio: arresto o riavvio |
| Controllo degli accessi | Aggirare i meccanismi di protezione |
Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.
Tutte le 201 CVE di tipo CWE-252, con andamento e prevenzione
Fonte: catalogo CWE del MITRE · cwe.mitre.org