Descrizione
In the standard library in Rust before 1.52.0, there is an optimization for joining strings that can cause uninitialized bytes to be exposed (or the program to crash) if the borrowed string changes after its length is checked.
In the standard library in Rust before 1.52.0, there is an optimization for joining strings that can cause uninitialized bytes to be exposed (or the program to crash) if the borrowed string changes after its length is checked.
| Fornitore | Prodotto | Versione | Piattaforma |
|---|---|---|---|
| fedoraproject | fedora | 32 | – |
| fedoraproject | fedora | 33 | – |
| fedoraproject | fedora | 34 | – |
| rust-lang | rust | < 1.52.0 | – |
CWE-134 Stringa di formato controllata dall’esterno (format string)
Il prodotto usa una funzione che accetta una stringa di formato, ma quella stringa proviene da una fonte esterna.
| Ambito | Impatto |
|---|---|
| Riservatezza | Leggere la memoria |
| Integrità, Riservatezza, Disponibilità | Modificare la memoria, Eseguire codice o comandi non autorizzati |
Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.
Tutte le 436 CVE di tipo CWE-134, con andamento e prevenzione
Fonte: catalogo CWE del MITRE · cwe.mitre.org