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


0.0
medium
  • Attack Complexity

    Low

  • User Interaction

    Required

  • Integrity

    High

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-id

    SNYK-GOLANG-GITHUBCOMPROMETHEUSPROMETHEUSWEB-1295716

  • published

    20 May 2021

  • disclosed

    20 May 2021

  • credit

    Aaron Devaney

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/).