VDB
Sign up
CRITICAL9.8

GHSA-r7h7-chh4-5rvm

Improper Access Control in Gitea

Quick fix

GHSA-r7h7-chh4-5rvm — github.com/go-gitea/gitea: upgrade to the fixed version with the command below.

go get github.com/go-gitea/gitea@v1.12.6

Details

Gitea 0.9.99 through 1.12.x before 1.12.6 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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/github.com/go-gitea/gitea
Introduced in: 0.9.99Fixed in: 1.12.6
Fixgo get github.com/go-gitea/gitea@v1.12.6

References