Descrizione
In the standard library in Rust before 1.50.0, read_to_end() does not validate the return value from Read in an unsafe context. This bug could lead to a buffer overflow.
In the standard library in Rust before 1.50.0, read_to_end() does not validate the return value from Read in an unsafe context. This bug could lead to a buffer overflow.
| Fornitore | Prodotto | Versione | Piattaforma |
|---|---|---|---|
| rust-lang | rust | < 1.50.0 | – |
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 200 CVE di tipo CWE-252, con andamento e prevenzione
Fonte: catalogo CWE del MITRE · cwe.mitre.org