ArchLinux: 202011-26: gitea: insufficient validation
Summary
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, causing partial SSRF.
Resolution
Upgrade to 1.12.6-1.
# pacman -Syu "gitea>=1.12.6-1"
The problem has been fixed upstream in version 1.12.6.
References
https://github.com/go-gitea/gitea/releases/tag/v1.12.6 https://github.com/go-gitea/gitea/commit/480efbdb96e4092493ec1e3683b2ab688ac95096 https://security.archlinux.org/CVE-2020-28991
Workaround
None.