Public mode

No access to your tenant or devices. Every item links to its source. What this means

Sources need attention Customize Public modeDiscuss ChangeIntel on Discord

Arbitrary redirects under /new endpoint

CVSS 3.1 6.5 MEDIUMEUVD CVSS 3.1 6.5 CVSS 3.1 · [email protected] · Secondary 6.5 MEDIUMCVSS 3.1 · [email protected] · Primary 6.1 MEDIUMCVSS 2.0 · [email protected] · Primary 5.8 MEDIUMCVSS_V3 Publisher rating MODERATEFixed by github.com/prometheus/prometheus 2.26.1Fixed by github.com/prometheus/prometheus 2.27.1KEV status unknown

cve-program · CVE-2021-29622

Published

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.

Read the publisher's advisory

euvd · EUVD-2022-1218

Published

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.

Read the publisher's advisory

nvd · CVE-2021-29622

Published

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.

Read the publisher's advisory

osv · 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 advisory

Affected versions, risk and source history

cve-program · CVE-2021-29622

Published

prometheus

Vendor product

Publisher's version information

Shown as published. These rules are not interpreted as NuGet package version ranges.

{
                    "product": "prometheus",
                    "vendor": "prometheus",
                    "versions": [
                        {
                            "status": "affected",
                            "version": ">= 2.23.0, < 2.27.1"
                        }
                    ]
                }

Original source record · Cite this exact observation · Complete original publisher JSON

euvd · EUVD-2022-1218

Published

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

No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.

Original source record · Cite this exact observation · Complete original publisher JSON

nvd · CVE-2021-29622

Published

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.

No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.

Original source record · Cite this exact observation · Complete original publisher JSON

osv · GHSA-vx57-7f4q-fpc7

Withdrawn

github.com/prometheus/prometheus

Go

SEMVER · introduced 2.23.0 → fixed 2.26.1

github.com/prometheus/prometheus

Go

SEMVER · introduced 2.27.0 → fixed 2.27.1

1 versions listed as affected

2.27.0

Original source record · Cite this exact observation · Complete original publisher JSON

ChangeIntel

An IT change radar: releases, security, known issues, retirements, documentation changes, and service status from public sources. Every item links to supporting evidence; dates and statuses can change after they are read.

Sources read 25 Nov 15:36 UTC · 277 of 278 readable · 272 fully read · documentation 469/469 current