Server-side Request Forgery (SSRF) Affecting gogs.io/gogs/internal/db package, versions <0.12.0


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.31% (70th 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 Learn

Learn about Server-side Request Forgery (SSRF) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GOGSIOGOGSINTERNALDB-2841512
  • published6 Jun 2022
  • disclosed23 May 2022
  • creditWenxu Wu

Introduced: 23 May 2022

CVE-2018-15192  (opens in a new tab)
CWE-918  (opens in a new tab)

How to fix?

Upgrade gogs.io/gogs/internal/db to version 0.12.0 or higher.

Overview

Affected versions of this package are vulnerable to Server-side Request Forgery (SSRF) due to improper user input validation. Exploiting this vulnerability allows an attacker to set the URL of webhooks to an internal address.

CVSS Scores

version 3.1