CVE-2023-40577 – github.com/prometheus/alertmanager
Package
Manager: go
Name: github.com/prometheus/alertmanager
Vulnerable Version: >=0 <0.25.1
Severity
Level: Medium
CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
EPSS: 0.0148 pctl0.80259
Details
Alertmanager UI is vulnerable to stored XSS via the /api/v1/alerts endpoint ### Impact An attacker with the permission to perform POST requests on the /api/v1/alerts endpoint could be able to execute arbitrary JavaScript code on the users of Prometheus Alertmanager. ### Patches Users can upgrade to Alertmanager v0.2.51. ### Workarounds Users can setup a reverse proxy in front of the Alertmanager web server to forbid access to the /api/v1/alerts endpoint. ### References N/A
Metadata
Created: 2023-08-23T20:42:43Z
Modified: 2023-09-01T17:34:29Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/08/GHSA-v86x-5fm3-5p7j/GHSA-v86x-5fm3-5p7j.json
CWE IDs: ["CWE-79"]
Alternative ID: GHSA-v86x-5fm3-5p7j
Finding: F425
Auto approve: 1