CVE-2020-28991
9.8critical
Improper Access Control in Gitea
- Severity
- 9.8critical CVSS:3.1 by NVD
- Exploit likelihood
- 1.74% (higher than 78% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-r7h7-chh4-5rvmBIT-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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| github.com/go-gitea/gitea (Go) | from 0.9.99 before 1.12.6 | GitHub Advisory Database |
| gitea gitea | from 0.9.99 before 1.12.6 | NVD |
| gitea (Bitnami) | from 0.9.99 before 1.12.6 | Bitnami Vulnerability Database |
All scores
| GitHub | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.5high CVSS:2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| Bitnami Vulnerability Database | critical rating |
Classification
What each source says
CVE List
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 (es)
Gitea versiones 0.9.99 hasta 1.12.x anteriores a 1.12.6, no impide una ruta de protocolo git que especifica un número de puerto TCP y también contiene líneas nuevas (con codificación URL) en la función ParseRemoteAddr en el archivo modules/auth/repo_form.go
References
| https://github.com/go-gitea/gitea/pull/13525 | advisory, patch, third-party-advisory, web | |
| https://github.com/go-gitea/gitea/releases/tag/v1.12.6 | advisory, release-notes, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2020-28991 | advisory, web | |
| https://github.com/go-gitea/gitea | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2020-28991 changed 2024-08-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-r7h7-chh4-5rvm changed 2024-04-24 | CC-BY-4.0 |
| NVD | CVE-2020-28991 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-GITEA-2020-28991 changed 2026-09-08 | Apache-2.0 |