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


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.11% (46th 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 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.

CVSS Scores

version 3.1
Expand this section

Snyk

7.5 high
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    High
  • Integrity (I)
    None
  • Availability (A)
    None
Expand this section

NVD

6.1 medium