Improper Access Control Affecting code.gitea.io/gitea/modules/auth Open this link in a new tab package, versions <1.12.6


0.0
medium
  • Attack Complexity

    Low

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-CODEGITEAIOGITEAMODULESAUTH-1044071

  • published

    24 Nov 2020

  • disclosed

    24 Nov 2020

  • credit

    Unknown

How to fix?

Upgrade code.gitea.io/gitea/modules/auth to version 1.12.6 or higher.

Overview

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

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