Open Redirect Affecting gogs.io/gogs/routes/user package, versions <0.12.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.13% (49th 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-GOGSIOGOGSROUTESUSER-1083900
  • published 8 Aug 2018
  • disclosed 5 Aug 2018
  • credit Unknown

How to fix?

Upgrade gogs.io/gogs/routes/user to version 0.12.0 or higher.

Overview

Affected versions of this package are vulnerable to Open Redirect. An attacker could redirect users to arbitrary websites and conduct phishing attacks via an initial /\ substring in the user/login redirect_to parameter.

CVSS Scores

version 3.1
Expand this section

Snyk

6.1 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    Required
  • Scope (S)
    Changed
  • Confidentiality (C)
    Low
  • Integrity (I)
    Low
  • Availability (A)
    None