CVE-2021-29622: Arbitrary redirects under /new endpoint
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.
Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 5 · Related 5Timeline
- 19-05-2021PublishedVulnerability first disclosed.
- 03-08-2024Last 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- OSV · UbuntuEcosystem advisory · calculated6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NDiffers
- OSV · GoEcosystem advisory · calculated6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NDiffers
- NVDNIST6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NDiffers
- OSV · AlpineEcosystem advisory · calculated6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NDiffers
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
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
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- github.com/prometheus/prometheus/security/advisories/GHSA-vx57-7f4q-fpc7X Refsource CONFIRMREPORTWEBThird Party Advisory
Show all 12 references
- lists.opensuse.org/archives/…Advisory