{"api_version":"1","generated_at":"2026-04-23T02:25:58+00:00","cve":"CVE-2021-29622","urls":{"html":"https://cve.report/CVE-2021-29622","api":"https://cve.report/api/cve/CVE-2021-29622.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-29622","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-29622"},"summary":{"title":"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'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.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2021-05-19 20:15:00","updated_at":"2021-05-26 22:29:00"},"problem_types":["CWE-601"],"metrics":[],"references":[{"url":"https://github.com/prometheus/prometheus/releases/tag/v2.26.1","name":"https://github.com/prometheus/prometheus/releases/tag/v2.26.1","refsource":"MISC","tags":[],"title":"Release 2.26.1 / 2021-05-18 · prometheus/prometheus · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/prometheus/prometheus/security/advisories/GHSA-vx57-7f4q-fpc7","name":"https://github.com/prometheus/prometheus/security/advisories/GHSA-vx57-7f4q-fpc7","refsource":"CONFIRM","tags":[],"title":"Open Redirect under the /new endpoint · Advisory · prometheus/prometheus · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/prometheus/prometheus/releases/tag/v2.27.1","name":"https://github.com/prometheus/prometheus/releases/tag/v2.27.1","refsource":"MISC","tags":[],"title":"Release 2.27.1 / 2021-05-18 · prometheus/prometheus · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-29622","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-29622","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"29622","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"prometheus","cpe5":"prometheus","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"29622","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"prometheus","cpe5":"prometheus","cpe6":"2.27.0","cpe7":"-","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"29622","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"prometheus","cpe5":"prometheus","cpe6":"2.27.0","cpe7":"rc0","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2021-29622","qid":"501900","title":"Alpine Linux Security Update for prometheus"},{"cve":"CVE-2021-29622","qid":"690124","title":"Free Berkeley Software Distribution (FreeBSD) Security Update for prometheus (59ab72fb-bccf-11eb-a38d-6805ca1caf5c)"},{"cve":"CVE-2021-29622","qid":"750959","title":"OpenSUSE Security Update for SUSE Manager Client Tools (openSUSE-SU-2021:2675-1)"},{"cve":"CVE-2021-29622","qid":"750961","title":"OpenSUSE Security Update for golang-github-prometheus-prometheus (openSUSE-SU-2021:2664-1)"},{"cve":"CVE-2021-29622","qid":"750980","title":"OpenSUSE Security Update for SUSE Manager Client Tools (openSUSE-SU-2021:1162-1)"},{"cve":"CVE-2021-29622","qid":"901562","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for prometheus (6804)"},{"cve":"CVE-2021-29622","qid":"902258","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for prometheus (6804-1)"}]},"source_records":{"cve_program":{"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":">= 2.23.0, < 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'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."}]},"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 ('Open Redirect')"}]}]},"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"}},"nvd":{"publishedDate":"2021-05-19 20:15:00","lastModifiedDate":"2021-05-26 22:29:00","problem_types":["CWE-601"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE","baseScore":6.1,"baseSeverity":"MEDIUM"},"exploitabilityScore":2.8,"impactScore":2.7},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:P/I:P/A:N","accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"NONE","baseScore":5.8},"severity":"MEDIUM","exploitabilityScore":8.6,"impactScore":4.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":true}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"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,"cpe23Uri":"cpe:2.3:a:prometheus:prometheus:*:*:*:*:*:*:*:*","versionStartIncluding":"2.23.0","versionEndExcluding":"2.26.1","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"29622","Ordinal":"204826","Title":"CVE-2021-29622","CVE":"CVE-2021-29622","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"29622","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2021","CveId":"29622","Ordinal":"2","NoteData":"2021-05-19","Type":"Other","Title":"Published"},{"CveYear":"2021","CveId":"29622","Ordinal":"3","NoteData":"2021-05-19","Type":"Other","Title":"Modified"}]}}}