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.
{
"nvd_published_at": null,
"github_reviewed_at": "2024-04-24T20:56:53Z",
"cwe_ids": [
"CWE-284"
],
"severity": "CRITICAL",
"github_reviewed": true
}