6.5

CVE-2021-29622: Arbitrary redirects under /new endpoint

Modified
AliasesSUSE-SU-2021:2664-1UBUNTU-CVE-2021-29622GHSA-vx57-7f4q-fpc7
Published 19-05-2021Last modified 03-08-2024

Vulnerability summary

CVE-2021-29622 is a medium (CVSS 6.5) URL Redirection to Untrusted Site vulnerability in prometheus. EPSS estimates a 19.56% chance of exploitation in the next 30 days, higher than 97.3% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
6.5/10
010
Medium · v3.1 (CVE.org)
EPSS score
19.56%
0%100%
Medium · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 5 · Related 5

Timeline

  1. 19-05-2021
    PublishedVulnerability first disclosed.
  2. 03-08-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

6 scores · 5 sources · 2 versions

EPSS trend

Probability

19.56%

Chance of exploitation in the next 30 days

Percentile

97%

Versus all other CVEs

30-day change

No change 0.00 pp

From 19.56% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Alpine1 product
  • prometheus≥ 2.23.0, < 2.27.1-r0
Github.com/prometheus1 product
  • prometheus≥ 2.23.0, < 2.26.1 | ≥ 2.27.0, < 2.27.1
Opensuse1 product
  • golang-github-prometheus-prometheus&distro=openSUSE Leap 15.3< 2.27.1-3.8.1
Prometheus1 product
  • prometheus≥ 2.23.0, < 2.27.1 | ≥ 2.23.0, < 2.26.1 | 2.27.0 | 2.27.0:rc0
Suse1 product
  • golang-github-prometheus-prometheus&distro=SUSE Enterprise Storage 6< 2.27.1-3.8.1
Ubuntu1 product
  • prometheusAll versions (No fix recorded)

6 vendors · 6 products

References

12 links
Show all 12 references