Descrizione
Nezha before 2.3.8 fails to validate alert rule type and duration bounds, allowing authenticated non-administrator users to create malformed rules that trigger unrecovered panics in the alert evaluator goroutine. Attackers can submit a crafted alert rule via the POST /api/v1/alert-rule endpoint to crash the dashboard process, which persists the rule and causes repeated crashes on restart, disabling all monitoring and control plane functionality.
Tipo di vulnerabilità
CWE-197
Numeric Truncation Error
Truncation errors occur when a primitive is cast to a primitive of a smaller size and data is lost in the conversion.
Impatto sui sistemi
| Ambito | Impatto |
| Integrità |
Modificare la memoria, Dipende dal contesto |
Come si previene
Sviluppo
Ensure that no casts, implicit or explicit, take place that move from a larger size primitive or a smaller size primitive.
Tutte le 76 CVE di tipo CWE-197, con andamento e prevenzione