Descrizione
PostgreSQL's optimized statistics on a table are visible as long as you have SELECT privilege on said table. A masked role can therefore read a limited subset of the data through the statistics view's histograms and mcvs. The vulnerability is resolved in PostgreSQL Anonymizer 3.3.0 and later versions.
Tipo di vulnerabilità
CWE-202
Exposure of Sensitive Information Through Data Queries
When trying to keep information confidential, an attacker can often infer some of the information by using statistics.
Impatto sui sistemi
| Ambito | Impatto |
| Riservatezza |
Leggere file o cartelle, Leggere i dati dell’applicazione |
Come si previene
Architettura e progettazione
This is a complex topic. See the for a good discussion of best practices.
Tutte le 44 CVE di tipo CWE-202, con andamento e prevenzione