Vulnerability Name:

CVE-2021-29622 (CCN-202131)

Assigned:2021-05-19
Published:2021-05-19
Updated:2021-05-26
Summary: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 v3 Severity:6.1 Medium (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N)
5.3 Medium (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): Required
Scope:Scope (S): Changed
Impact Metrics:Confidentiality (C): Low
Integrity (I): Low
Availibility (A): None
7.4 High (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N)
6.4 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): Required
Scope:Scope (S): Changed
Impact Metrics:Confidentiality (C): None
Integrity (I): High
Availibility (A): None
CVSS v2 Severity:5.8 Medium (CVSS v2 Vector: AV:N/AC:M/Au:N/C:P/I:P/A:N)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Medium
Authentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): None
6.8 Medium (CCN CVSS v2 Vector: AV:N/AC:L/Au:S/C:N/I:C/A:N)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Athentication (Au): Single_Instance
Impact Metrics:Confidentiality (C): None
Integrity (I): Complete
Availibility (A): None
Vulnerability Type:CWE-601
Vulnerability Consequences:Other
References:Source: MITRE
Type: CNA
CVE-2021-29622

Source: XF
Type: UNKNOWN
prometheus-cve202129622-open-redirect(202131)

Source: MISC
Type: Third Party Advisory
https://github.com/prometheus/prometheus/releases/tag/v2.26.1

Source: MISC
Type: Third Party Advisory
https://github.com/prometheus/prometheus/releases/tag/v2.27.1

Source: CCN
Type: prometheus GIT Repository
Open Redirect under the /new endpoint

Source: CONFIRM
Type: Third Party Advisory
https://github.com/prometheus/prometheus/security/advisories/GHSA-vx57-7f4q-fpc7

Source: CCN
Type: oss-sec Mailing List, Wed, 19 May 2021 10:08:13 +0200
Prometheus 2.26.1-2.27.1 released to fix an Open Redirect security issue

Vulnerable Configuration:Configuration 1:
  • cpe:/a:prometheus:prometheus:*:*:*:*:*:*:*:* (Version >= 2.23.0 and < 2.26.1)
  • OR cpe:/a:prometheus:prometheus:2.27.0:-:*:*:*:*:*:*
  • OR cpe:/a:prometheus:prometheus:2.27.0:rc0:*:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/a:prometheus:prometheus:2.23.0:-:*:*:*:*:*:*
  • OR cpe:/a:prometheus:prometheus:2.26.0:-:*:*:*:*:*:*
  • OR cpe:/a:prometheus:prometheus:2.27.0:-:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:org.opensuse.security:def:6128
    P
    Security update for python-numpy (Moderate)
    2022-08-03
    oval:org.opensuse.security:def:6129
    P
    Security update for tiff (Low)
    2022-08-03
    oval:org.opensuse.security:def:95350
    P
    Security update for the Linux Kernel (Important)
    2022-07-21
    oval:org.opensuse.security:def:95349
    P
    Security update for ncurses (Moderate) (in QA)
    2022-07-18
    oval:org.opensuse.security:def:112346
    P
    golang-github-prometheus-prometheus-2.27.1-4.2 on GA media (Moderate)
    2022-01-17
    oval:org.opensuse.security:def:100020
    P
    (Important)
    2021-12-01
    oval:org.opensuse.security:def:105861
    P
    Security update for webkit2gtk3 (Important)
    2021-11-23
    oval:org.opensuse.security:def:102063
    P
    Security update for gd (Moderate)
    2021-09-27
    oval:org.opensuse.security:def:102062
    P
    Security update for ffmpeg (Important)
    2021-09-23
    oval:org.opensuse.security:def:111011
    P
    Security update for SUSE Manager Client Tools (Moderate)
    2021-08-17
    oval:org.opensuse.security:def:76286
    P
    Security update for SUSE Manager Client Tools (Moderate)
    2021-08-12
    oval:org.opensuse.security:def:5801
    P
    Security update for golang-github-prometheus-prometheus (Moderate)
    2021-08-12
    oval:org.opensuse.security:def:67218
    P
    Security update for SUSE Manager Client Tools (Moderate)
    2021-08-12
    oval:org.opensuse.security:def:75958
    P
    Security update for golang-github-prometheus-prometheus (Moderate)
    2021-08-12
    oval:org.opensuse.security:def:66890
    P
    Security update for golang-github-prometheus-prometheus (Moderate)
    2021-08-12
    oval:org.opensuse.security:def:5802
    P
    Security update for SUSE Manager Client Tools (Moderate)
    2021-08-12
    oval:org.opensuse.security:def:75959
    P
    Security update for SUSE Manager Client Tools (Moderate)
    2021-08-12
    oval:org.opensuse.security:def:108728
    P
    Security update for golang-github-prometheus-prometheus (Moderate)
    2021-08-12
    oval:org.opensuse.security:def:66891
    P
    Security update for SUSE Manager Client Tools (Moderate)
    2021-08-12
    oval:org.opensuse.security:def:111660
    P
    Security update for golang-github-prometheus-prometheus (Moderate)
    2021-08-12
    oval:org.opensuse.security:def:76285
    P
    Security update for golang-github-prometheus-prometheus (Moderate)
    2021-08-12
    oval:org.opensuse.security:def:108729
    P
    Security update for SUSE Manager Client Tools (Moderate)
    2021-08-12
    oval:org.opensuse.security:def:67217
    P
    Security update for golang-github-prometheus-prometheus (Moderate)
    2021-08-12
    oval:org.opensuse.security:def:111661
    P
    Security update for SUSE Manager Client Tools (Moderate)
    2021-08-12
    BACK
    prometheus prometheus *
    prometheus prometheus 2.27.0 -
    prometheus prometheus 2.27.0 rc0
    prometheus prometheus 2.23.0 -
    prometheus prometheus 2.26.0 -
    prometheus prometheus 2.27.0 -