Critical
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2020-28991
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 08:38 UTC · Revision 1
Source evidence
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.
osv:CVE-2020-28991
Complete source record
{
"id": "e17d5eb1370f33dd747faa952c5ee20931321d78f69303a91a5ec6eb0c3cc830",
"url": "https://osv.dev/vulnerability/CVE-2020-28991",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2020-28991",
"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.",
"evidence": "osv:CVE-2020-28991",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2020-28991",
"aliases": [
"BIT-gitea-2020-28991",
"CVE-2020-28991",
"GHSA-r7h7-chh4-5rvm"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/go-gitea/gitea",
"type": "GIT",
"events": [
{
"introduced": "6bcff7828f117af8d51285ce3acba01a7e40a867"
},
{
"fixed": "53b89c34742855e0c5a7f989d6506f02791678af"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:gitea:gitea:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0.9.99"
},
{
"fixed": "1.12.6"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "53b89c34742855e0c5a7f989d6506f02791678af"
}
],
"source": "REFERENCES_TAG",
"original_tag": "v1.12.6"
}
]
}
}
],
"versions": [
"v1.12.5",
"v1.12.4",
"v1.12.3",
"v1.12.2",
"v1.12.1",
"v1.12.0",
"v1.12.0-rc2",
"v1.12.0-rc1",
"v1.12.0-dev",
"v1.10.5",
"v1.11.0-rc1",
"v1.10.0-rc1",
"v1.11.0-dev",
"v1.9.0-rc1",
"v1.10.0-dev",
"v1.9.0-dev",
"v1.7.0-dev",
"v1.6.0-rc1",
"v1.6.0-dev",
"v1.5.0-rc1",
"v1.5.0-dev",
"v1.1.0",
"v1.0.0",
"v0.9.99"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-28991.json"
}
}
],
"modified": "2026-10-24T10:47:49.532748561Z",
"provider": "osv",
"references": [
"https://github.com/go-gitea/gitea/releases/tag/v1.12.6",
"https://github.com/go-gitea/gitea/pull/13525"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:a:gitea:gitea:*:*:*:*:*:*:*:*"
],
"vendor_product": "gitea:gitea",
"extracted_events": [
{
"range": [
{
"introduced": "0.9.99"
},
{
"fixed": "1.12.6"
}
],
"source": "CPE_RANGE"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2020-28991",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 441573,
"published_at": "2020-11-24T01:15:11.833+00:00"
}