{"id":"EUVD-2022-1218","revision":null,"records":[{"revision":"e3d3bc2bfa244fe2acd4caa1f488ea8f","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2021-29622","aliases":[],"title":"Arbitrary redirects under /new endpoint","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":0,"publishedAt":"2021-05-19T20:00:13+00:00","modifiedAt":"2024-08-03T22:11:06.291+00:00","affected":[{"ecosystem":"Vendor product","name":"prometheus","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"prometheus\",\n                    \"vendor\": \"prometheus\",\n                    \"versions\": [\n                        {\n                            \"status\": \"affected\",\n                            \"version\": \">= 2.23.0, < 2.27.1\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","score":6.5,"severity":"MEDIUM"}],"references":["https://github.com/prometheus/prometheus/security/advisories/GHSA-vx57-7f4q-fpc7","https://github.com/prometheus/prometheus/releases/tag/v2.26.1","https://github.com/prometheus/prometheus/releases/tag/v2.27.1"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2021-29622","license":"CVE Program Terms of Use","key":"cve-program:CVE-2021-29622","identifiers":["CVE-2021-29622"]},"retained":false,"historicalAffected":[]},{"revision":"eb4a97003f1f413e8e0083c3187c0228","observedAt":"2026-11-24T11:32:40.473+00:00","statement":{"source":"euvd","id":"EUVD-2022-1218","aliases":["CVE-2021-29622","GHSA-vx57-7f4q-fpc7"],"title":"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 …","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":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","score":6.5,"severity":null}],"references":["https://github.com/prometheus/prometheus/security/advisories/GHSA-vx57-7f4q-fpc7","https://github.com/prometheus/prometheus/releases/tag/v2.26.1","https://github.com/prometheus/prometheus/releases/tag/v2.27.1"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-1218","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"May 19, 2021, 8:00:13 PM","dateUpdated":"Aug 3, 2024, 10:11:06 PM"},"relatedAdvisories":[{"id":"openSUSE-SU-2024:10814-1","title":"golang-github-prometheus-prometheus-2.27.1-4.2 on GA media","vulnerabilityIds":["CVE-2019-10215","CVE-2021-29622"]},{"id":"openSUSE-SU-2021:2675-1","title":"Security update for SUSE Manager Client Tools","vulnerabilityIds":["CVE-2021-27962","CVE-2021-28146","CVE-2021-28147","CVE-2021-28148","CVE-2021-29622"]},{"id":"SUSE-SU-2021:2675-1","title":"Security update for SUSE Manager Client Tools","vulnerabilityIds":["CVE-2021-27962","CVE-2021-28146","CVE-2021-28147","CVE-2021-28148","CVE-2021-29622"]},{"id":"SUSE-SU-2021:2673-1","title":"Security update for SUSE Manager Client Tools","vulnerabilityIds":["CVE-2021-27962","CVE-2021-28146","CVE-2021-28147","CVE-2021-28148","CVE-2021-29622"]},{"id":"openSUSE-SU-2021:2664-1","title":"Security update for golang-github-prometheus-prometheus","vulnerabilityIds":["CVE-2021-29622"]},{"id":"openSUSE-SU-2021:1162-1","title":"Security update for SUSE Manager Client Tools","vulnerabilityIds":["CVE-2021-27962","CVE-2021-28146","CVE-2021-28147","CVE-2021-28148","CVE-2021-29622"]},{"id":"SUSE-SU-2021:2664-1","title":"Security update for golang-github-prometheus-prometheus","vulnerabilityIds":["CVE-2021-29622"]},{"id":"RHSA-2021:2438","title":"Red Hat Security Advisory: OpenShift Container Platform 4.8.2 bug fix and security update","vulnerabilityIds":["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"]},{"id":"msrc_CVE-2021-29622","title":"Arbitrary redirects under /new endpoint","vulnerabilityIds":["CVE-2021-29622"]}],"note":"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."},"key":"euvd:EUVD-2022-1218","identifiers":["EUVD-2022-1218","CVE-2021-29622","GHSA-vx57-7f4q-fpc7"]},"retained":false,"historicalAffected":[]},{"revision":"fe8fffebf650475fba3358f5736e014c","observedAt":"2026-10-24T18:17:21.803+00:00","statement":{"source":"nvd","id":"CVE-2021-29622","aliases":[],"title":"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 …","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":0,"publishedAt":"2021-05-19T20:15:07.487+00:00","modifiedAt":"2026-06-17T03:48:02.743+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · security-advisories@github.com · Secondary","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","score":6.5,"severity":"MEDIUM"},{"system":"CVSS 3.1 · nvd@nist.gov · Primary","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"severity":"MEDIUM"},{"system":"CVSS 2.0 · nvd@nist.gov · Primary","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:N","score":5.8,"severity":"MEDIUM"}],"references":["https://github.com/prometheus/prometheus/releases/tag/v2.26.1","https://github.com/prometheus/prometheus/releases/tag/v2.27.1","https://github.com/prometheus/prometheus/security/advisories/GHSA-vx57-7f4q-fpc7"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2021-29622","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Modified","weaknesses":["CWE-601"],"productCriteria":["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:*:*:*:*:*:*"],"sourceDates":{"published":"2021-05-19T20:15:07.487","lastModified":"2026-06-17T03:48:02.743"},"relatedAdvisories":[],"note":"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."},"key":"nvd:CVE-2021-29622","identifiers":["CVE-2021-29622"]},"retained":false,"historicalAffected":[]},{"revision":"857b723f2b3f476bbf44046682037f8f","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-vx57-7f4q-fpc7","aliases":["BIT-prometheus-2021-29622","CVE-2021-29622"],"title":"Arbitrary redirects under /new endpoint","description":"### Impact\n\nIn 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 /.\nDue 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.\n\nIf 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.\n\ne.g. if a user visits http://127.0.0.1:9090/new/newhttp://www.google.com/, they will be redirected to http://google.com.\n\n### Patches\n\nThe issue will be patched in 2.26.1 and 2.27.1 releases.\nIn 2.28.0, the /new endpoint will be removed completely.\n\n### Workarounds\n\nThe workaround is to disable access to /new via a reverse proxy in front of Prometheus.\n\nNote: Users who use a `--web.external-url=` flag _with a path_ (e.g.  `--web.external-url=http://example.com/prometheus`) are not affected.\n\n### For more information\n\nIf you have any questions or comments about this advisory, please use our community channels (https://prometheus.io/community).\nOur security policy is available at https://prometheus.io/docs/operating/security/\n","state":2,"publishedAt":"2022-02-15T01:57:18+00:00","modifiedAt":"2026-07-08T06:28:38.1702371+00:00","affected":[{"ecosystem":"Go","name":"github.com/prometheus/prometheus","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"2.23.0"},{"kind":"fixed","version":"2.26.1"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"Go","name":"github.com/prometheus/prometheus","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"2.27.0"},{"kind":"fixed","version":"2.27.1"}]}],"versions":["2.27.0"],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["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"],"sourceUrl":"https://github.com/advisories/GHSA-vx57-7f4q-fpc7","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-vx57-7f4q-fpc7","identifiers":["GHSA-vx57-7f4q-fpc7","BIT-prometheus-2021-29622","CVE-2021-29622"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-25T16:30:51.6399626+00:00","complete":true,"records":1796,"lastAttemptAt":"2026-11-25T16:30:51.6399626+00:00","lastSuccessAt":"2026-11-25T16:30:52.034918+00:00","error":null,"lastVerifiedAt":"2026-11-25T16:30:52.0349214+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-8d356adab43082cb10bb7c033ed58312cf2ad2f0fb10e0afdf27fc89fa361f3b-eff9d08c8f0fa32ddca8b3faeb4fb15ed8fd3be7ad4cea54f526276594975076","complete":true,"records":432225,"lastAttemptAt":"2026-11-25T16:28:38.1682659+00:00","lastSuccessAt":"2026-11-25T16:28:38.0153955+00:00","error":null,"lastVerifiedAt":"2026-11-25T16:28:38.1682659+00:00","snapshotPublishedAt":"2026-11-25T16:27:14+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-d8cb6062226c4ee1a67bc4be747e71d6","complete":false,"records":13939,"lastAttemptAt":"2026-11-25T16:38:12.8625325+00:00","lastSuccessAt":"2026-11-25T16:38:13.004809+00:00","error":null,"lastVerifiedAt":"2026-11-25T16:38:13.004809+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-25T16:30:51.6399626+00:00","complete":true,"records":1131,"lastAttemptAt":"2026-11-25T16:30:51.6399626+00:00","lastSuccessAt":"2026-11-25T16:30:52.035995+00:00","error":null,"lastVerifiedAt":"2026-11-25T16:30:52.0359954+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-b1697be945394a11bfe4d90c22645cd8","complete":true,"records":13951,"lastAttemptAt":"2026-11-25T16:30:53.1656546+00:00","lastSuccessAt":"2026-11-25T16:30:53.16+00:00","error":null,"lastVerifiedAt":"2026-11-25T16:30:53.16+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13987,"expectedIdentifiers":13987,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-70b1e3058f76fab20c77bb1c4924a4c57f7654dd208befb5b1f237e682d6ddca","complete":true,"records":10077,"lastAttemptAt":"2026-11-25T16:30:51.4950342+00:00","lastSuccessAt":"2026-11-25T11:46:59.5507764+00:00","error":null,"lastVerifiedAt":"2026-11-25T16:30:51.4950342+00:00","snapshotPublishedAt":"2026-11-25T11:03:15+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-6ba2352decd0c95d34a1b50f642582aa34659ce946f552488f0a5cea4e0cc09a","complete":true,"records":2020,"lastAttemptAt":"2026-11-25T16:28:38.3174258+00:00","lastSuccessAt":"2026-11-20T15:46:15.4249619+00:00","error":null,"lastVerifiedAt":"2026-11-25T16:28:38.3174258+00:00","snapshotPublishedAt":"2026-11-20T14:48:20+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-5be533520b83c9bfaebc80695093f6f0d59feafc2a1eab94e91dd79d1bb9241b","complete":true,"records":3222,"lastAttemptAt":"2026-11-25T16:30:51.5978795+00:00","lastSuccessAt":"2026-11-25T11:47:03.6026853+00:00","error":null,"lastVerifiedAt":"2026-11-25T16:30:51.5978795+00:00","snapshotPublishedAt":"2026-11-25T11:18:20+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-93117e9f4237570c8330a2370f4c3e20e3306a5fa2ad4a5c945eb39d2bbbbbda","complete":true,"records":233129,"lastAttemptAt":"2026-11-25T16:30:51.3700222+00:00","lastSuccessAt":"2026-11-25T16:30:50.1279622+00:00","error":null,"lastVerifiedAt":"2026-11-25T16:30:51.3700222+00:00","snapshotPublishedAt":"2026-11-25T15:33:14+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}