Open Redirect Affecting github.com/prometheus/prometheus/web package, versions >=2.27.0-rc.0 <2.27.1>=2.23.0 <2.26.1


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.29% (70th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Open Redirect vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMPROMETHEUSPROMETHEUSWEB-1295716
  • published20 May 2021
  • disclosed20 May 2021
  • creditAaron Devaney

Introduced: 20 May 2021

CVE-2021-29622  (opens in a new tab)
CWE-601  (opens in a new tab)

How to fix?

Upgrade github.com/prometheus/prometheus/web to version 2.27.1, 2.26.1 or higher.

Overview

Affected versions of this package are vulnerable to Open Redirect. An attacker could craft an URL using this endpoint that can redirect to any other URL via an HTTP 302 response (e.g., if a user visits http://127.0.0.1:9090/new/newhttp://malicious.site/, they would be redirected to `https://malicious.site/).

CVSS Scores

version 3.1