Descrizione
PDFio before 1.6.5 contains a dangling pointer vulnerability in the dictionary string-formatting function that stores a pointer to a stack-local buffer in the document dictionary without copying the string value. In multi-threaded or pooled-request environments, attackers or concurrent users can trigger stack memory reuse across requests, causing cross-tenant document content corruption by silently overwriting one caller's dictionary string values with another caller's data.
Tipo di vulnerabilità
CWE-825
Expired Pointer Dereference
The product dereferences a pointer that contains a location for memory that was previously valid, but is no longer valid.
Impatto sui sistemi
| Ambito | Impatto |
| Riservatezza |
Leggere la memoria |
| Disponibilità |
Interruzione del servizio: arresto o riavvio |
| Integrità, Riservatezza, Disponibilità |
Eseguire codice o comandi non autorizzati |
Come si previene
Architettura e progettazione
Choose a language that provides automatic memory management.
Sviluppo
When freeing pointers, be sure to set them to NULL once they are freed. However, the utilization of multiple or complex data structures may lower the usefulness of this strategy.
Tutte le 36 CVE di tipo CWE-825, con andamento e prevenzione