Server-side Request Forgery (SSRF) Affecting gogs.io/gogs/internal/route/repo package, versions <0.12.5


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    Exploit Maturity
    Proof of concept
    EPSS
    0.16% (54th 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-GOGSIOGOGSINTERNALROUTEREPO-2430351
  • published 20 Mar 2022
  • disclosed 14 Mar 2022
  • credit Michael Rowley

How to fix?

Upgrade gogs.io/gogs/internal/route/repo to version 0.12.5 or higher.

Overview

Affected versions of this package are vulnerable to Server-side Request Forgery (SSRF) due to allowing a malicious actor to discover services in the internal network the gogs package is running on through repository migration functionality.

CVSS Scores

version 3.1
Expand this section

Snyk

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

NVD

5.3 medium