Descrizione
A flaw was found in postgres-exporter. Due to the blank import of `net/http/pprof`, debug endpoints are exposed on the unauthenticated metrics listener. A remote attacker within the cluster network can access these endpoints. This allows for information disclosure, potentially revealing process arguments, full goroutine stacks, and sensitive data like database connection strings or passwords from heap dumps. Additionally, repeated CPU profiling through these endpoints can lead to a denial of service.
Tipo di vulnerabilità
CWE-489
Active Debug Code
The product is released with debugging code still enabled or active.
Impatto sui sistemi
| Ambito | Impatto |
| Riservatezza, Integrità, Disponibilità, Controllo degli accessi, Altro |
Aggirare i meccanismi di protezione, Leggere i dati dell’applicazione, Ottenere privilegi o assumere un’altra identità, Dipende dal contesto |
Come si previene
Build e compilazione · Distribuzione
Remove debug code before deploying the application.
Tutte le 85 CVE di tipo CWE-489, con andamento e prevenzione