Improper Access Control Affecting github.com/go-gitea/gitea/modules/auth package, versions <1.12.6


0.0
medium

Snyk CVSS

    Attack Complexity Low

    Threat Intelligence

    EPSS 0.24% (62nd percentile)
Expand this section
NVD
9.8 critical

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-GITHUBCOMGOGITEAGITEAMODULESAUTH-1044042
  • published 24 Nov 2020
  • disclosed 24 Nov 2020
  • credit Unknown

How to fix?

Upgrade github.com/go-gitea/gitea/modules/auth to version 1.12.6 or higher.

Overview

Affected versions of this package are vulnerable to Improper Access Control. It does not prevent a git protocol path that specifies a TCP port number and also contains newlines (with URL encoding) in ParseRemoteAddr in modules/auth/repo_form.go.

References