---
cve: "CVE-2021-29622"
severity: "MEDIUM"
cvss: 6.5
epss: "19.6%"
vendor: "prometheus"
kev: false
exploited: false
published: "2021-05-19 20:15:07"
tags: [cve, security, medium]
source: tsecurity.de CVE-Dossier
exported: "2026-09-08T16:00:07+02:00"
---

# CVE-2021-29622

> 6.5 MEDIUM · 🧪 PoC

## Beschreibung

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.

## CVSS-Vektor

```
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
```

| Metrik | Wert | Bewertung |
|---|---|---|
| AV Angriffsvektor | Netzwerk | bad |
| AC Komplexität | Gering | bad |
| PR Privilegien | Keine | bad |
| UI Interaktion | Erforderlich | good |
| S Scope | Unverändert | good |
| C Vertraulichkeit | Keine | good |
| I Integrität | Hoch | bad |
| A Verfügbarkeit | Keine | good |

## Patch verfügbar (OSV)

- 6eeded0fdf760e81af75d9c44ce539ab77da4505 (Commit)
- db7f0bcec27bd8aeebad6b08ac849516efa9ae02 (Commit)

## Referenzen

- <https://github.com/prometheus/prometheus/security/advisories/GHSA-vx57-7f4q-fpc7>
- <https://github.com/prometheus/prometheus/releases/tag/v2.26.1>
- <https://github.com/prometheus/prometheus/releases/tag/v2.27.1>

---
_Exportiert aus dem [tsecurity.de CVE-Dossier](https://tsecurity.de/cve?cve=CVE-2021-29622) · Datenquellen: EUVD (ENISA), NVD, OSV, CISA KEV, FIRST EPSS, Exploit-DB, BSI BITS_
