Descrizione
Type confusion in PostgreSQL min/max aggregate optimization allows an object creator to execute arbitrary code as the operating system user running the database, via a user-defined aggregate whose SORTOP option causes the planner to treat the aggregate's input and result as the same type when they differ. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.
Tipo di vulnerabilità
CWE-843
Type confusion: accesso a una risorsa con un tipo incompatibile
Il prodotto crea una risorsa (puntatore, oggetto o variabile) di un certo tipo, ma in seguito vi accede come se fosse di un tipo incompatibile.
Impatto sui sistemi
| Ambito | Impatto |
| Altro |
Dipende dal contesto |
| Disponibilità, Integrità, Riservatezza |
Leggere la memoria, Modificare la memoria, Eseguire codice o comandi non autorizzati, Interruzione del servizio: arresto o riavvio |
Tutte le 925 CVE di tipo CWE-843, con andamento e prevenzione