Arbitrary redirects under /new endpoint
cve-program · CVE-2021-29622
PublishedPrometheus 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.
Read the publisher's advisoryeuvd · EUVD-2022-1218
PublishedPrometheus 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.
Read the publisher's advisorynvd · CVE-2021-29622
PublishedPrometheus 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.
Read the publisher's advisoryosv · GHSA-vx57-7f4q-fpc7
Withdrawn### Impact 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 (e.g.: `http://127.0.0.1:9090/new/new<url>`), they can be redirected to an arbitrary URL. e.g. if a user visits http://127.0.0.1:9090/new/newhttp://www.google.com/, they will be redirected to http://google.com. ### Patches The issue will be patched in 2.26.1 and 2.27.1 releases. In 2.28.0, the /new endpoint will be removed completely. ### Workarounds The workaround is to disable access to /new via a reverse proxy in front of Prometheus. Note: Users who use a `--web.external-url=` flag _with a path_ (e.g. `--web.external-url=http://example.com/prometheus`) are not affected. ### For more information If you have any questions or comments about this advisory, please use our community channels (https://prometheus.io/community). Our security policy is available at https://prometheus.io/docs/operating/security/
Read the publisher's advisoryAffected versions, risk and source history
Exploitation and risk
Source statusCISA KEV lists vulnerabilities known to be exploited. FIRST EPSS estimates the likelihood of exploitation in the next 30 days. An unavailable score does not mean zero risk.
Which CVEs have scores here?
This view includes predictions for CVE identifiers explicitly listed in public NuGet advisories. Microsoft release pages have their own prediction coverage. Check source status for the scope and latest checks.
No exploitation or prediction data is available here for these CVEs. This does not mean they are safe or unlikely to be exploited.
cve-program · CVE-2021-29622
PublishedArbitrary redirects under /new endpoint
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.
- Source published
- 19 May 2021 20:00:13 UTC
- Source modified
- 3 Aug 2024 22:11:06 UTC
- Saved here
- 23 Oct 2026 15:48:27 UTC
- Source terms
- CVE Program Terms of Use
Original source record · Cite this exact observation · Complete original publisher JSON
Source: cve-program · CVE Program Terms of Use. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.
CVSS 3.1 · 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
euvd · EUVD-2022-1218
PublishedPrometheus 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 …
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.
Additional publisher context
EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON.
Original publisher date fields
datePublished: May 19, 2021, 8:00:13 PM
dateUpdated: Aug 3, 2024, 10:11:06 PM
9 related source bulletins · separate from aliases
openSUSE-SU-2024:10814-1: golang-github-prometheus-prometheus-2.27.1-4.2 on GA media
CVE-2019-10215 · CVE-2021-29622
openSUSE-SU-2021:2675-1: Security update for SUSE Manager Client Tools
CVE-2021-27962 · CVE-2021-28146 · CVE-2021-28147 · CVE-2021-28148 · CVE-2021-29622
SUSE-SU-2021:2675-1: Security update for SUSE Manager Client Tools
CVE-2021-27962 · CVE-2021-28146 · CVE-2021-28147 · CVE-2021-28148 · CVE-2021-29622
SUSE-SU-2021:2673-1: Security update for SUSE Manager Client Tools
CVE-2021-27962 · CVE-2021-28146 · CVE-2021-28147 · CVE-2021-28148 · CVE-2021-29622
openSUSE-SU-2021:2664-1: Security update for golang-github-prometheus-prometheus
CVE-2021-29622
openSUSE-SU-2021:1162-1: Security update for SUSE Manager Client Tools
CVE-2021-27962 · CVE-2021-28146 · CVE-2021-28147 · CVE-2021-28148 · CVE-2021-29622
SUSE-SU-2021:2664-1: Security update for golang-github-prometheus-prometheus
CVE-2021-29622
RHSA-2021:2438: Red Hat Security Advisory: OpenShift Container Platform 4.8.2 bug fix and security update
CVE-2016-2183 · CVE-2020-7774 · CVE-2020-15106 · CVE-2020-15112 · CVE-2020-15113 · CVE-2020-15114 · CVE-2020-15136 · CVE-2020-26160 · CVE-2020-28469 · CVE-2020-28500 · CVE-2020-28852 · CVE-2021-3114 · CVE-2021-3121 · CVE-2021-20206 · CVE-2021-20218 · CVE-2021-20291 · CVE-2021-22133 · CVE-2021-23337 · CVE-2021-23362 · CVE-2021-23368 · CVE-2021-23382 · CVE-2021-26539 · CVE-2021-26540 · CVE-2021-27292 · CVE-2021-28092 · CVE-2021-29059 · CVE-2021-29622 · CVE-2021-33194
msrc_CVE-2021-29622: Arbitrary redirects under /new endpoint
CVE-2021-29622
- Source published
- May 19, 2021, 8:00:13 PM (timezone not stated)
- Source modified
- Aug 3, 2024, 10:11:06 PM (timezone not stated)
- Saved here
- 24 Nov 2026 11:32:40 UTC
- Source terms
- ENISA EUVD · source terms and attribution apply
Original source record · Cite this exact observation · Complete original publisher JSON
Source: euvd · ENISA EUVD · source terms and attribution apply. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.
EUVD CVSS 3.1 · 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
nvd · CVE-2021-29622
PublishedPrometheus 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 …
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.
Additional publisher context
NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.
Source analysis status: Modified
Weakness classifications: CWE-601
Original publisher date fields
published: 2021-05-19T20:15:07.487
lastModified: 2026-06-17T03:48:02.743
3 source CPE criteria · context only
- cpe:2.3:a:prometheus:prometheus:*:*:*:*:*:*:*:*
- cpe:2.3:a:prometheus:prometheus:2.27.0:-:*:*:*:*:*:*
- cpe:2.3:a:prometheus:prometheus:2.27.0:rc0:*:*:*:*:*:*
The original JSON retains the logical configuration operators, exclusions and version bounds.
- Source published
- 19 May 2021 20:15:07 UTC
- Source modified
- 17 Jun 2026 03:48:02 UTC
- Saved here
- 24 Oct 2026 18:17:21 UTC
- Source terms
- NIST NVD usage terms; underlying source attribution retained
Original source record · Cite this exact observation · Complete original publisher JSON
Source: nvd · NIST NVD usage terms; underlying source attribution retained. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.
CVSS 3.1 · [email protected] · Secondary · 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
CVSS 3.1 · [email protected] · Primary · 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CVSS 2.0 · [email protected] · Primary · 5.8 AV:N/AC:M/Au:N/C:P/I:P/A:N
osv · GHSA-vx57-7f4q-fpc7
WithdrawnArbitrary redirects under /new endpoint
### Impact 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 (e.g.: `http://127.0.0.1:9090/new/new<url>`), they can be redirected to an arbitrary URL. e.g. if a user visits http://127.0.0.1:9090/new/newhttp://www.google.com/, they will be redirected to http://google.com. ### Patches The issue will be patched in 2.26.1 and 2.27.1 releases. In 2.28.0, the /new endpoint will be removed completely. ### Workarounds The workaround is to disable access to /new via a reverse proxy in front of Prometheus. Note: Users who use a `--web.external-url=` flag _with a path_ (e.g. `--web.external-url=http://example.com/prometheus`) are not affected. ### For more information If you have any questions or comments about this advisory, please use our community channels (https://prometheus.io/community). Our security policy is available at https://prometheus.io/docs/operating/security/
- Source published
- 15 Feb 2022 01:57:18 UTC
- Source modified
- 8 Jul 2026 06:28:38 UTC
- Saved here
- 24 Oct 2026 13:19:41 UTC
- Source terms
- GitHub Advisory Database · CC-BY-4.0
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · GitHub Advisory Database · CC-BY-4.0. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.
CVSS_V3 · CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Publisher rating · MODERATE