Server-side Request Forgery (SSRF) Affecting code.gitea.io/gitea/modules/util package, versions <1.16.0


0.0
high

Snyk CVSS

    Attack Complexity Low
    Scope Changed
    Confidentiality High

    Threat Intelligence

    EPSS 0.14% (49th percentile)
Expand this section
NVD
8.6 high

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-CODEGITEAIOGITEAMODULESUTIL-2849635
  • published 6 Jun 2022
  • disclosed 23 May 2022
  • credit Wenxu Wu

How to fix?

Upgrade code.gitea.io/gitea/modules/util to version 1.16.0 or higher.

Overview

code.gitea.io/gitea/modules/util is a self-hosted git service.

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.