Description
Gitea before 1.4.3 is affected by URL Redirection to Untrusted Site ('Open Redirect') via internal URLs.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | golang-code.gitea-git +1 | No fix yet | — |
| Ubuntu 20.04 LTS | golang-code.gitea-git +1 | No fix yet | — |
| Ubuntu 18.04 LTS | golang-code.gitea-git +1 | No fix yet | — |
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- Gitea < 1.4.3 - Open Redirect http/cves/2021/CVE-2021-45328.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | github.com/go-gitea/gitea | < 1.4.3 | 1.4.3 | GHSA-36h2-95gj-w488 |