{"id":"CVE-2020-28991","published":"2020-11-24T00:29:39Z","modified":"2024-08-04T16:48:01Z","title":"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…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01736,"percentile":0.7825,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/go-gitea/gitea/pull/13525","tags":["x_refsource_MISC"]},{"url":"https://github.com/go-gitea/gitea/releases/tag/v1.12.6","tags":["x_refsource_MISC"]}],"priority":{"score":15.6,"factors":[{"name":"EPSS percentile","points":15.65}]},"affected":[{"ecosystem":"Go","package":"github.com/go-gitea/gitea","vulnerableRanges":[">=0.9.99, <1.12.6"],"patched":["1.12.6"],"from":["GHSA-r7h7-chh4-5rvm"],"provenance":"source"}],"summary":{"text":"The flaw is in Gitea, specifically in the ParseRemoteAddr function in modules/auth/repo_form.go, which fails to reject git protocol paths that include a TCP port number together with newline characters (supplied in URL-encoded form).","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:40:42Z"},"euvd":{"id":"EUVD-2024-1294","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2019-11229","published":"2019-04-13","fixed":"1.7.6","kev":false},{"cve":"CVE-2021-45327","published":"2022-02-08","fixed":"1.11.2","kev":false},{"cve":"CVE-2020-13246","published":"2020-05-20","fixed":"1.12.0","kev":false,"link":{"from":"CVE-2020-13246","to":"CVE-2020-28991","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/go-gitea/gitea","fromFixed":"1.12.0","toFixed":"1.12.6","daysApart":188}]}},{"cve":"CVE-2020-28991","published":"2020-11-24","fixed":"1.12.6","kev":false},{"cve":"CVE-2021-3382","published":"2021-02-05","fixed":"1.13.2","kev":false,"link":{"from":"CVE-2020-28991","to":"CVE-2021-3382","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/go-gitea/gitea","fromFixed":"1.12.6","toFixed":"1.13.2","daysApart":73}]}},{"cve":"CVE-2022-42968","published":"2022-10-16","fixed":"1.17.3","kev":false},{"cve":"CVE-2026-20750","published":"2026-01-22","fixed":"1.25.4","kev":false}],"package":"Go:github.com/go-gitea/gitea"}}