
CVE catalog
CVE-2021-29622
prometheus: CVE-2021-29622
- Severity
- Medium · CVSS 6.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 19.56% · Oct 25, 2026
Prometheus is an open-source monitoring system and time series database. In 2.23.0, Prometheus changed its default UI to the New ui. To ensure a seamless transition, the URL's prefixed by /new redirect to /. Due to a bug in the code, it is possible for an attacker to craft an URL that can redirect to any other URL, in the /new endpoint. If a user visits a prometheus server with a specially crafted address, they can be redirected to an arbitrary URL. The issue was patched in the 2.26.1 and 2.27.1 releases. In 2.28.0, the /new endpoint will be removed completely. The workaround is to disable access to /new via a reverse proxy in front of Prometheus.
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 | sid | 3.5.3+ds1-6 | not affected |
| Debian | prometheus | forky | 3.5.3+ds1-6 | not affected |
| Debian | prometheus | trixie | 2.53.3+ds1-2 | not affected |
| Debian | prometheus | bookworm | 2.42.0+ds-5+deb12u1 | not affected |
| Opensuse | golang-github-prometheus-prometheus | leap 15.3 | 2.27.1-3.8.1 | fixed |
| Suse | golang-github-prometheus-prometheus | enterprise storage 6 | 2.27.1-3.8.1 | fixed |
| Ubuntu | prometheus | 16.04 | 0.14.0+ds-1 | vulnerable |
| Ubuntu | prometheus | 16.04 | 0.16.2+ds-1 | vulnerable |
| Ubuntu | prometheus | 16.04 | 0.16.2+ds-1ubuntu1 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | prometheus | source | sid | Not affected | unimportant | Not reported | Not reported |
| Debian | prometheus | source | forky | Not affected | unimportant | Not reported | Not reported |
| Debian | prometheus | source | trixie | Not affected | unimportant | Not reported | Not reported |
| Debian | prometheus | source | bookworm | Not affected | unimportant | Not reported | Not reported |
| Opensuse | golang-github-prometheus-prometheus | rpm | leap 15.3 | 2.27.1-3.8.1 | Not reported | OPENSUSE-SU-2021:2664-1 | Not reported |
| Suse | golang-github-prometheus-prometheus | rpm | enterprise storage 6 | 2.27.1-3.8.1 | Not reported | SUSE-SU-2021:2664-1 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [prometheus]Not affected
Details (2)
2.42.0+ds-5+deb12u1· amd64 · bookwormNot affected
dsa · prometheus · debian · bookworm
2.42.0+ds-5+deb12u1· arm64 · bookwormNot affected
dsa · prometheus · debian · bookworm
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2021_2664-1.json]
- [https://osv.dev/vulnerability/SUSE-SU-2021:2664-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2021-29622]
- [https://osv.dev/vulnerability/openSUSE-SU-2021:2664-1]
- [https://security-tracker.debian.org/tracker/CVE-2021-29622]
- [https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-29622.json]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]