Descrizione
When processing files, malloc stores the data of the current line. When processing comments, malloc incorrectly accesses the released memory (use after free).
When processing files, malloc stores the data of the current line. When processing comments, malloc incorrectly accesses the released memory (use after free).
| Fornitore | Prodotto | Versione | Piattaforma |
|---|---|---|---|
| openeuler | byacc | < 1.9.20200330 | – |
| openeuler | byacc | >= 2.0 < 2.0.20210808 | – |
CWE-416 Uso di memoria dopo la liberazione (use after free)
Il prodotto usa o fa riferimento a un’area di memoria dopo averla liberata. Nel frattempo quell’area può essere stata assegnata ad altro: ogni operazione fatta con il vecchio puntatore agisce su dati che non le appartengono più.
| Ambito | Impatto |
|---|---|
| Integrità | Modificare la memoria |
| Disponibilità | Interruzione del servizio: arresto o riavvio |
| Riservatezza | Leggere la memoria |
| Integrità, Riservatezza, Disponibilità | Eseguire codice o comandi non autorizzati |
Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.
Tutte le 9.633 CVE di tipo CWE-416, con andamento e prevenzione
Fonte: catalogo CWE del MITRE · cwe.mitre.org