Security context

What an agent needs to avoid regressing past fixes and find the next vuln in this repo.

prometheus/alertmanager
main @ 058616d
2
Fixes
1
CVEs
HIGH
Peak severity
Highlights
Denial of Service: 2 prior fixes. Scrutinize any change in this area.
cluster/tls_config.go: most-fixed (1 issue). Treat as high-risk during review.
0 high-severity fixes in this history; regressions here are high-impact.
Recurring patterns

The bug types that recur here, drawn from past fixes, not open vulnerabilities.

Denial of Service: Active alert groups that are swapped out of the dispatcher can cause goroutine leaks if their associated contexts are not explicitly cancelled upon eviction, degrading system performance over time.
Denial of Service: The configuration parser dereferenced potentially nil structures during TLS configuration loading, causing a panic and crash when presented with an empty 'tls_client_config' block.
Cross-Site Scripting (XSS): Alertmanager is vulnerable to reflected cross-site scripting via POST requests to the alerts API endpoint, allowing malicious script execution in the context of authorized users.