Open Redirect Affecting github.com/pusher/oauth2_proxy package, versions <5.0.0


0.0
high

Snyk CVSS

    Attack Complexity Low
    Confidentiality High

    Threat Intelligence

    EPSS 0.11% (44th percentile)
Expand this section
NVD
6.1 medium

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-GITHUBCOMPUSHEROAUTH2PROXY-543837
  • published 31 Jan 2020
  • disclosed 30 Jan 2020
  • credit Unknown

How to fix?

Upgrade github.com/pusher/oauth2_proxy to version 5.0.0 or higher.

Overview

github.com/pusher/oauth2_proxy is a reverse proxy that provides authentication with Google, Github or other providers.

Affected versions of this package are vulnerable to Open Redirect. The pattern '/\domain.com' is not disallowed when redirecting, allowing for open redirect. Authentication tokens could be silently harvested by an attacker.