{"id":"CVE-2020-28991","aliases":["BIT-gitea-2020-28991","EUVD-2024-1294","GHSA-r7h7-chh4-5rvm"],"status":"published","title":"Improper Access Control in Gitea","description":"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.","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-11","score":0.01736,"percentile":0.77987,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-284"],"published":"2020-11-24T00:29:39Z","modified":"2026-10-24T10:47:49Z","fixes":[{"ecosystem":"Go","package":"github.com/go-gitea/gitea","fixed_in":["1.12.6"],"sources":["ghsa","osv"]},{"ecosystem":"Bitnami","package":"gitea","fixed_in":["1.12.6"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"Go","package":"github.com/go-gitea/gitea","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.9.99"},{"fixed":"1.12.6"}]}]},{"source":"osv","ecosystem":"Bitnami","package":"gitea","ranges":[{"type":"SEMVER","events":[{"introduced":"0.9.99"},{"fixed":"1.12.6"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/go-gitea/gitea","ranges":[{"type":"SEMVER","events":[{"introduced":"0.9.99"},{"fixed":"1.12.6"}]}]}],"products":[{"vendor":"gitea","product":"gitea"}],"references":[{"url":"https://github.com/go-gitea/gitea/pull/13525","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","advisory","fix","web"]},{"url":"https://github.com/go-gitea/gitea/releases/tag/v1.12.6","tags":["x_refsource_MISC","x_transferred","Release Notes","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-28991","tags":["web","advisory"]},{"url":"https://github.com/advisories/GHSA-r7h7-chh4-5rvm"},{"url":"https://github.com/go-gitea/gitea","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2020-28991","description":"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.","status":"published","published":"2020-11-24T00:29:39Z","modified":"2024-08-04T16:48:01.235Z","updated_at":"2026-11-02T14:35:57.017407Z"}],"euvd":[{"id":"EUVD-2024-1294","description":"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.","status":"published","published":"2020-11-24T00:29:39Z","modified":"2024-08-04T16:48:01Z","updated_at":"2026-11-03T03:07:07.919663Z"}],"ghsa":[{"id":"GHSA-r7h7-chh4-5rvm","title":"Improper Access Control in Gitea","description":"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.","status":"published","published":"2024-04-24T20:56:53Z","modified":"2024-04-24T20:56:58Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-284"],"updated_at":"2026-11-02T14:37:46.019452Z"}],"nvd":[{"id":"CVE-2020-28991","description":"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.","status":"published","published":"2020-11-24T01:15:11.833Z","modified":"2026-06-17T03:10:56.777Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"updated_at":"2026-11-02T14:06:25.394006Z"}],"osv":[{"id":"CVE-2020-28991","description":"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.","status":"published","published":"2020-11-24T01:15:11.833Z","modified":"2026-10-24T10:47:49.532748561Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:16.612899Z"},{"id":"GHSA-r7h7-chh4-5rvm","title":"Improper Access Control in Gitea","description":"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.","status":"published","published":"2024-04-24T20:56:53Z","modified":"2024-04-24T21:11:22.86598Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-284"],"updated_at":"2026-11-02T15:46:55.480549Z"},{"id":"BIT-gitea-2020-28991","description":"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.","status":"published","published":"2024-03-06T10:55:38.711Z","modified":"2026-09-08T08:47:33.03822403Z","updated_at":"2026-11-02T15:28:29.999658Z"}]}}
