> CVE-2021-29622 [MEDIUM]

« BACK_TO_HOME
PUBLISHED
2021-05-19 20:15
MODIFIED
2024-11-21 06:01
CVSS_SCORE V3
6.5
EPSS (Prob. Exploit)
19.56%
Top 2.6%
⚡ EPSS ÉLEVÉ (19.6%)
🎯 NUCLEI TEMPLATE
DATA SOURCES:
NVD 🔗 2025-10-18 CVE PROJECT 🔗 2026-01-19 FIRST EPSS 🔗 2026-11-08 GITHUB 🔗 2026-11-17 OSV 🔗 2026-11-15 NUCLEI 🔗 2026-11-15

> DESCRIPTION

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.

> AFFECTED_PRODUCTS

Prometheus - Prometheus
>= 2.23.0 < 2.26.1
Prometheus - Prometheus
Version: 2.27.0

> CVSS V3 METRICS

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

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
None (N)
Aucune authentification requise
UI (Interaction Utilisateur)
User Interaction
Required (R)
Nécessite une action utilisateur (clic lien, ouverture fichier, etc.)
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
None (N)
Aucune divulgation d'informations
I (Impact Intégrité)
Integrity Impact
High (H)
Modification totale des données possible
A (Impact Disponibilité)
Availability Impact
None (N)
Aucune interruption de service

> RÉSUMÉ DES IMPACTS

Confidentialité
None
Aucune divulgation d'informations
Intégrité
High
Modification totale des données possible
Disponibilité
None
Aucune interruption de service

> GITHUB SECURITY ADVISORY

GHSA-vx57-7f4q-fpc7 MODERATE

Arbitrary redirects under /new endpoint

AFFECTED PACKAGES:
GO / github.com/prometheus/prometheus
> 0.0.0-20201116123734-de1c1243f4dd, < 0.0.0-20210518124745-db7f0bcec27b
Fixed in: 0.0.0-20210518124745-db7f0bcec27b
GO / github.com/prometheus/prometheus
= 2.27.0
Fixed in: 2.27.1
GO / github.com/prometheus/prometheus
>= 2.23.0, < 2.26.1
Fixed in: 2.26.1

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

AFFECTED PACKAGES:
Unknown / Unknown
2 versions affected
ALIASES:
BIT-prometheus-2021-29622, GHSA-vx57-7f4q-fpc7

> NUCLEI TEMPLATES

Des templates Nuclei sont disponibles pour scanner cette vulnérabilité.

🎯
CVE-2021-29622.yaml
http/cves/2021/CVE-2021-29622.yaml
Usage: nuclei -t http/cves/2021/CVE-2021-29622.yaml -u target.com

> HISTORIQUE DES MODIFICATIONS

Première apparition
19/05/2021 20:15
Source: NVD
📊 ENRICHISSEMENT 18/10/2025 14:27
CVEPROJECT
Champ modifié: CVE Project
Ancienne valeur:
Non
Nouvelle valeur:
Oui
Total des modifications: 1 Dernière mise à jour: 1 year ago
« BACK_TO_HOME