Improper Access Control Affecting code.gitea.io/gitea/modules/auth package, versions <1.12.6


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.22% (60th 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 Improper Access Control vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-CODEGITEAIOGITEAMODULESAUTH-1044071
  • published24 Nov 2020
  • disclosed24 Nov 2020
  • creditUnknown

Introduced: 24 Nov 2020

CVE-2020-28991  (opens in a new tab)
CWE-284  (opens in a new tab)

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

CVSS Scores

version 3.1