Description
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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| nezhahq | nezha | < 2.3.8 | 2.3.8 |
References
- GitHub Security Advisory (GHSA-2qc6-x993-hjq9) vendor-advisory
- VulnCheck Advisory: Nezha before 2.3.8 Denial of Service via Alert Rule third-party-advisory