GSD-2021-29622
Vulnerability from gsd - Updated: 2023-12-13 01:23Details
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.
Aliases
Aliases
{
"GSD": {
"alias": "CVE-2021-29622",
"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\u0027s 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.",
"id": "GSD-2021-29622",
"references": [
"https://www.suse.com/security/cve/CVE-2021-29622.html",
"https://access.redhat.com/errata/RHSA-2021:2438",
"https://security.archlinux.org/CVE-2021-29622"
]
},
"gsd": {
"metadata": {
"exploitCode": "unknown",
"remediation": "unknown",
"reportConfidence": "confirmed",
"type": "vulnerability"
},
"osvSchema": {
"aliases": [
"CVE-2021-29622"
],
"details": "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\u0027s 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.",
"id": "GSD-2021-29622",
"modified": "2023-12-13T01:23:36.560303Z",
"schema_version": "1.4.0"
}
},
"namespaces": {
"cve.org": {
"CVE_data_meta": {
"ASSIGNER": "security-advisories@github.com",
"ID": "CVE-2021-29622",
"STATE": "PUBLIC",
"TITLE": "Arbitrary redirects under /new endpoint"
},
"affects": {
"vendor": {
"vendor_data": [
{
"product": {
"product_data": [
{
"product_name": "prometheus",
"version": {
"version_data": [
{
"version_value": "\u003e= 2.23.0, \u003c 2.27.1"
}
]
}
}
]
},
"vendor_name": "prometheus"
}
]
}
},
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "eng",
"value": "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\u0027s 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."
}
]
},
"impact": {
"cvss": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "NONE",
"baseScore": 6.5,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "NONE",
"integrityImpact": "HIGH",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N",
"version": "3.1"
}
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "eng",
"value": "CWE-601: URL Redirection to Untrusted Site (\u0027Open Redirect\u0027)"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "https://github.com/prometheus/prometheus/security/advisories/GHSA-vx57-7f4q-fpc7",
"refsource": "CONFIRM",
"url": "https://github.com/prometheus/prometheus/security/advisories/GHSA-vx57-7f4q-fpc7"
},
{
"name": "https://github.com/prometheus/prometheus/releases/tag/v2.26.1",
"refsource": "MISC",
"url": "https://github.com/prometheus/prometheus/releases/tag/v2.26.1"
},
{
"name": "https://github.com/prometheus/prometheus/releases/tag/v2.27.1",
"refsource": "MISC",
"url": "https://github.com/prometheus/prometheus/releases/tag/v2.27.1"
}
]
},
"source": {
"advisory": "GHSA-vx57-7f4q-fpc7",
"discovery": "UNKNOWN"
}
},
"gitlab.com": {
"advisories": [
{
"affected_range": "\u003e=2.23.0 \u003c2.26.1||=2.27.0",
"affected_versions": "All versions starting from 2.23.0 before 2.26.1, version 2.27.0",
"cvss_v2": "AV:N/AC:M/Au:N/C:P/I:P/A:N",
"cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
"cwe_ids": [
"CWE-1035",
"CWE-601",
"CWE-937"
],
"date": "2022-04-12",
"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\u0027s 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.",
"fixed_versions": [
"2.26.1",
"2.27.1"
],
"identifier": "CVE-2021-29622",
"identifiers": [
"GHSA-vx57-7f4q-fpc7",
"CVE-2021-29622"
],
"not_impacted": "All versions before 2.23.0, all versions starting from 2.26.1 before 2.27.0, all versions after 2.27.0",
"package_slug": "go/github.com/prometheus/prometheus",
"pubdate": "2022-02-15",
"solution": "Upgrade to versions 2.26.1, 2.27.1 or above.",
"title": "URL Redirection to Untrusted Site (\u0027Open Redirect\u0027)",
"urls": [
"https://github.com/prometheus/prometheus/security/advisories/GHSA-vx57-7f4q-fpc7",
"https://nvd.nist.gov/vuln/detail/CVE-2021-29622",
"https://github.com/prometheus/prometheus/releases/tag/v2.26.1",
"https://github.com/prometheus/prometheus/releases/tag/v2.27.1",
"https://github.com/advisories/GHSA-vx57-7f4q-fpc7"
],
"uuid": "532f09b0-7ee3-42e9-b766-7d6bd0b5f561"
},
{
"affected_range": "\u003e=v2.23.0 \u003cv2.26.1 || =v2.27.0",
"affected_versions": "All versions starting from 2.23.0 before 2.26.1, version 2.27.0",
"cvss_v2": "AV:N/AC:M/Au:N/C:P/I:P/A:N",
"cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
"cwe_ids": [
"CWE-1035",
"CWE-601",
"CWE-937"
],
"date": "2021-05-26",
"description": "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.",
"fixed_versions": [],
"identifier": "CVE-2021-29622",
"identifiers": [
"CVE-2021-29622",
"GHSA-vx57-7f4q-fpc7"
],
"not_impacted": "",
"package_slug": "go/github.com/prometheus/prometheus/web/ui",
"pubdate": "2021-05-19",
"solution": "Unfortunately, there is no solution available yet.",
"title": "URL Redirection to Untrusted Site (Open Redirect)",
"urls": [
"https://nvd.nist.gov/vuln/detail/CVE-2021-29622"
],
"uuid": "4a7eb152-d366-4a32-a80d-7936f0abd07b",
"versions": [
{
"commit": {
"sha": "2447c56ec7835da037c6dff4c3f6094c03692f16",
"tags": [
"v2.23.0"
],
"timestamp": "20201126101154"
},
"number": "v2.23.0"
},
{
"commit": {
"sha": "2c266fff772d180d527db10b04c08c85b2508014",
"tags": [
"v2.27.0"
],
"timestamp": "20210512173212"
},
"number": "v2.27.0"
},
{
"commit": {
"sha": "0cf098df8f7d50f13d8e2c2b080ba1a1acd37236",
"tags": [
"v2.26.1"
],
"timestamp": "20210518124745"
},
"number": "v2.26.1"
}
]
}
]
},
"nvd.nist.gov": {
"configurations": {
"CVE_data_version": "4.0",
"nodes": [
{
"children": [],
"cpe_match": [
{
"cpe23Uri": "cpe:2.3:a:prometheus:prometheus:*:*:*:*:*:*:*:*",
"cpe_name": [],
"versionEndExcluding": "2.26.1",
"versionStartIncluding": "2.23.0",
"vulnerable": true
},
{
"cpe23Uri": "cpe:2.3:a:prometheus:prometheus:2.27.0:-:*:*:*:*:*:*",
"cpe_name": [],
"vulnerable": true
},
{
"cpe23Uri": "cpe:2.3:a:prometheus:prometheus:2.27.0:rc0:*:*:*:*:*:*",
"cpe_name": [],
"vulnerable": true
}
],
"operator": "OR"
}
]
},
"cve": {
"CVE_data_meta": {
"ASSIGNER": "security-advisories@github.com",
"ID": "CVE-2021-29622"
},
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "en",
"value": "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\u0027s 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."
}
]
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "en",
"value": "CWE-601"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "https://github.com/prometheus/prometheus/security/advisories/GHSA-vx57-7f4q-fpc7",
"refsource": "CONFIRM",
"tags": [
"Third Party Advisory"
],
"url": "https://github.com/prometheus/prometheus/security/advisories/GHSA-vx57-7f4q-fpc7"
},
{
"name": "https://github.com/prometheus/prometheus/releases/tag/v2.26.1",
"refsource": "MISC",
"tags": [
"Third Party Advisory"
],
"url": "https://github.com/prometheus/prometheus/releases/tag/v2.26.1"
},
{
"name": "https://github.com/prometheus/prometheus/releases/tag/v2.27.1",
"refsource": "MISC",
"tags": [
"Third Party Advisory"
],
"url": "https://github.com/prometheus/prometheus/releases/tag/v2.27.1"
}
]
}
},
"impact": {
"baseMetricV2": {
"acInsufInfo": false,
"cvssV2": {
"accessComplexity": "MEDIUM",
"accessVector": "NETWORK",
"authentication": "NONE",
"availabilityImpact": "NONE",
"baseScore": 5.8,
"confidentialityImpact": "PARTIAL",
"integrityImpact": "PARTIAL",
"vectorString": "AV:N/AC:M/Au:N/C:P/I:P/A:N",
"version": "2.0"
},
"exploitabilityScore": 8.6,
"impactScore": 4.9,
"obtainAllPrivilege": false,
"obtainOtherPrivilege": false,
"obtainUserPrivilege": false,
"severity": "MEDIUM",
"userInteractionRequired": true
},
"baseMetricV3": {
"cvssV3": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "NONE",
"baseScore": 6.1,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "LOW",
"integrityImpact": "LOW",
"privilegesRequired": "NONE",
"scope": "CHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
"version": "3.1"
},
"exploitabilityScore": 2.8,
"impactScore": 2.7
}
},
"lastModifiedDate": "2021-05-26T22:29Z",
"publishedDate": "2021-05-19T20:15Z"
}
}
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…