{"id":"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'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":["BIT-prometheus-2021-29622"],"modified":"2026-04-10T04:32:53.897864Z","published":"2021-05-19T20:15:07.487Z","related":["GHSA-vx57-7f4q-fpc7","SUSE-SU-2021:2664-1","SUSE-SU-2021:2673-1","SUSE-SU-2021:2675-1","SUSE-SU-2021:3907-1","SUSE-SU-2021:3908-1","openSUSE-SU-2021:1162-1","openSUSE-SU-2021:2664-1","openSUSE-SU-2021:2675-1","openSUSE-SU-2024:10814-1"],"references":[{"type":"ADVISORY","url":"https://github.com/prometheus/prometheus/releases/tag/v2.26.1"},{"type":"ADVISORY","url":"https://github.com/prometheus/prometheus/releases/tag/v2.27.1"},{"type":"ADVISORY","url":"https://github.com/prometheus/prometheus/security/advisories/GHSA-vx57-7f4q-fpc7"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/prometheus/prometheus","events":[{"introduced":"26d89b4b0776fe4cd5a3656dfa520f119a375273"},{"fixed":"6eeded0fdf760e81af75d9c44ce539ab77da4505"},{"introduced":"0"},{"last_affected":"24c9b61221f7006e87cd62b9fe2901d43e19ed53"},{"fixed":"db7f0bcec27bd8aeebad6b08ac849516efa9ae02"}],"database_specific":{"versions":[{"introduced":"2.23.0"},{"fixed":"2.26.1"},{"introduced":"0"},{"last_affected":"2.27.0-NA"}]}}],"versions":["0.1.0","0.10.0","0.11.1","0.12.0","0.13.0","0.13.0rc2","0.13.1","0.13.2","0.14.0","0.14.0rc1","0.14.0rc2","0.14.0rc3","0.15.0","0.15.0rc1","0.15.0rc2","0.15.0rc3","0.15.1","0.16.0","0.16.0rc1","0.16.0rc2","0.18.0","0.18.0rc1","0.2.0","0.2.1","0.3.0","0.4.0","0.5.0","0.6.0","0.7.0","0.8.0","0.9.0","0.9.0rc1","0.9.0rc2","0.9.0rc3","0.9.0rc4","0.9.0rc5","checkout","dev","discovery-handle-discoverer-updates","v1.0.0-rc.0","v1.1.0","v1.3.0-beta.0","v1.4.0","v1.4.1","v2.0.0-alpha.0","v2.0.0-alpha.1","v2.0.0-alpha.2","v2.0.0-alpha.3","v2.0.0-beta.0","v2.0.0-beta.1","v2.0.0-beta.2","v2.0.0-beta.4","v2.0.0-beta.5","v2.0.0-rc.0","v2.0.0-rc.1","v2.0.0-rc.2","v2.0.0-rc.3","v2.1.0","v2.10.0-rc.0","v2.11.0-rc.0","v2.12.0-rc.0","v2.13.0-rc.0","v2.2.0","v2.2.0-rc.0","v2.2.0-rc.1","v2.22.0-rc.0","v2.26.0","v2.26.0-rc.0","v2.27.0","v2.27.0-rc.0","v2.4.0","v2.4.0-rc.0","v2.5.0-rc.0","v2.6.0","v2.6.0-rc.0","v2.6.0-rc.1","v2.7.0","v2.7.0-rc.0","v2.7.0-rc.1","v2.7.0-rc.2","v2.8.0","v2.8.0-rc.0","v2.9.0","v2.9.0-rc.0"],"database_specific":{"unresolved_ranges":[{"events":[{"introduced":"0"},{"last_affected":"2.27.0-rc0"}]}],"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-29622.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}