CVE-2020-28991 json
Improper Access Control in Gitea
published 2020-11-24 5 y ago modified 2026-09-08 2 mo ago also BIT-gitea-2020-28991 , EUVD-2024-1294 , GHSA-r7h7-chh4-5rvm
- cvss
- 9.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.7%
- EPSS 1.7% chance of exploitation in 30 days, percentile 77%
- public exploits
- 0
- none known
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.
Patch / fix
- go github.com/go-gitea/gitea 1.12.6
- bitnami gitea 1.12.6
- gitea gitea 1.12.6
- gitea Arch Linux 1.12.6-1
arch linux advisories AVG-1299
- github.com/go-gitea/gitea#13525 pull request
- github.com/go-gitea/gitea/releases/tag/v1.12.6 release
Exploit prediction
1.74% chance of exploitation in the next 30 days, higher than 77% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| OSV | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/go-gitea/gitea | >=0.9.99, <1.12.6 |
1.12.6 |
| bitnami | gitea | >=0.9.99, <1.12.6 |
1.12.6 |
Classification
- Weakness
-
- CWE-284 Improper Access Control
References
-
github.com
/go-gitea/gitea/pull/13525
web, patch, third-party-advisory, advisory
-
github.com
/go-gitea/gitea/releases/tag/v1.12.6
web, release-notes, third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2020-28991
advisory, web
-
github.com
/go-gitea/gitea
package
Sources
- CVE List CVE-2020-28991
- GitHub Advisory GHSA-r7h7-chh4-5rvm
- NVD CVE-2020-28991
- OSV BIT-gitea-2020-28991
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.