
CVE catalog
CVE-2023-40577
prometheus-alertmanager: CVE-2023-40577
- Severity
- High · CVSS 7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.63% · Oct 25, 2026
Alertmanager handles alerts sent by client applications such as the Prometheus server. 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. This issue has been fixed in Alertmanager version 0.2.51.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | prometheus-alertmanager | sid | 0.33.1-5 | fixed |
| Debian | prometheus-alertmanager | forky | 0.33.1-5 | fixed |
| Debian | prometheus-alertmanager | trixie | 0.28.1+ds-1 | fixed |
| Debian | prometheus-alertmanager | bookworm | 0.25.0-1 | vulnerable |
| Ubuntu | prometheus-alertmanager | pro | 0.21.0+ds-4 | vulnerable |
| Ubuntu | prometheus-alertmanager | pro | 0.23.0-4 | vulnerable |
| Ubuntu | prometheus-alertmanager | pro | 0.23.0-4ubuntu0.1 | vulnerable |
| Ubuntu | prometheus-alertmanager | pro | 0.23.0-4ubuntu0.2 | vulnerable |
| Ubuntu | prometheus-alertmanager | pro | 0.23.0-4ubuntu0.2+esm1 | fixed |
| Ubuntu | prometheus-alertmanager | 20.04 | 0.15.3+ds-3 | vulnerable |
| Ubuntu | prometheus-alertmanager | 20.04 | 0.15.3+ds-3ubuntu1 | vulnerable |
| Ubuntu | prometheus-alertmanager | 20.04 | 0.15.3+ds-3ubuntu1.1 | vulnerable |
| Ubuntu | prometheus-alertmanager | 20.04 | 0.15.3+ds-3ubuntu1.2 | fixed |
| Opensuse | golang-github-prometheus-alertmanager | tumbleweed | 0.26.0-4.1 | fixed |
| Ubuntu | prometheus-alertmanager | pro | 0.21.0+ds-4 | vulnerable |
| Ubuntu | prometheus-alertmanager | pro | 0.23.0-4 | vulnerable |
| Ubuntu | prometheus-alertmanager | pro | 0.23.0-4ubuntu0.1 | vulnerable |
| Ubuntu | prometheus-alertmanager | pro | 0.23.0-4ubuntu0.2 | vulnerable |
| Ubuntu | prometheus-alertmanager | pro | 0.23.0-4ubuntu0.2+esm1 | fixed |
| Ubuntu | prometheus-alertmanager | 20.04 | 0.15.3+ds-3 | vulnerable |
| Ubuntu | prometheus-alertmanager | 20.04 | 0.15.3+ds-3ubuntu1 | vulnerable |
| Ubuntu | prometheus-alertmanager | 20.04 | 0.15.3+ds-3ubuntu1.1 | vulnerable |
| Ubuntu | prometheus-alertmanager | 20.04 | 0.15.3+ds-3ubuntu1.2 | fixed |
| Suse | golang-github-prometheus-alertmanager | manager client tools 15 | 0.26.0-150100.4.19.1 | fixed |
| Suse | golang-github-prometheus-alertmanager | linux enterprise module for package hub 15 sp5 | 0.26.0-150100.4.19.1 | fixed |
| Suse | golang-github-prometheus-alertmanager | manager proxy module 4.3 | 0.26.0-150100.4.19.1 | fixed |
| Opensuse | golang-github-prometheus-alertmanager | leap 15.5 | 0.26.0-150100.4.19.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | prometheus-alertmanager | source | sid | 0.26.0+ds-1 | unimportant | Not reported | [1050558] |
| Debian | prometheus-alertmanager | source | forky | 0.26.0+ds-1 | unimportant | Not reported | [1050558] |
| Debian | prometheus-alertmanager | source | trixie | 0.26.0+ds-1 | unimportant | Not reported | [1050558] |
| Debian | prometheus-alertmanager | source | bookworm | (unfixed) | unimportant | Not reported | [1050558] |
| Ubuntu | prometheus-alertmanager | deb | pro | 0.23.0-4ubuntu0.2+esm1 | Not reported | USN-6935-1 | Not reported |
| Ubuntu | prometheus-alertmanager | deb | 20.04 | 0.15.3+ds-3ubuntu1.2 | Not reported | USN-6935-1 | Not reported |
| Opensuse | golang-github-prometheus-alertmanager | rpm | tumbleweed | 0.26.0-4.1 | Not reported | OPENSUSE-SU-2024:13599-1 | Not reported |
| Ubuntu | prometheus-alertmanager | deb | pro | 0.23.0-4ubuntu0.2+esm1 | Not reported | UBUNTU-CVE-2023-40577 | Not reported |
| Ubuntu | prometheus-alertmanager | deb | 20.04 | 0.15.3+ds-3ubuntu1.2 | Not reported | UBUNTU-CVE-2023-40577 | Not reported |
| Suse | golang-github-prometheus-alertmanager | rpm | manager client tools 15 | 0.26.0-150100.4.19.1 | Not reported | SUSE-SU-2024:0512-1 | Not reported |
| Suse | golang-github-prometheus-alertmanager | rpm | linux enterprise module for package hub 15 sp5 | 0.26.0-150100.4.19.1 | Not reported | SUSE-SU-2024:0512-1 | Not reported |
| Suse | golang-github-prometheus-alertmanager | rpm | manager proxy module 4.3 | 0.26.0-150100.4.19.1 | Not reported | SUSE-SU-2024:0512-1 | Not reported |
| Opensuse | golang-github-prometheus-alertmanager | rpm | leap 15.5 | 0.26.0-150100.4.19.1 | Not reported | SUSE-SU-2024:0512-1 | Not reported |
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
References
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2024_0191-1.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2023-40577]
- [https://osv.dev/vulnerability/DLA-3609-1]
- [https://osv.dev/vulnerability/SUSE-SU-2024:0512-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2023-40577]
- [https://osv.dev/vulnerability/USN-6935-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2024:13599-1]
- [https://security-tracker.debian.org/tracker/CVE-2023-40577]
- [https://security.access.redhat.com/data/csaf/v2/vex/2023/cve-2023-40577.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2025/wid-sec-w-2025-0148.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]