# CVE-2021-45328: GO-2022-0579 - Open redirect in Gitea in github.com/go-gitea/gitea

Source: https://junglewise.ai/threats/cve-2021-45328-open-redirect-in-gitea  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-08-21  
License: CC BY 4.0 with a link back

CVE-2021-45328 · Severity: low · CVSS 3.1 · Published 2024-08-21

Open redirect in Gitea in github.com/go-gitea/gitea

Technologies: [github.com/go-gitea/gitea (Go)](https://junglewise.ai/threats/technologies/github-com-go-gitea-gitea). Vendors: [Go](https://junglewise.ai/threats/vendors/go).

## Quick answers

**Is CVE-2021-45328 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2021-45328 being exploited in the wild.

**How severe is CVE-2021-45328?** Low severity, with a CVSS score of 3.1, published 21 August 2024.

**Which products and versions are affected?** github.com/go-gitea/gitea (Go) SEMVER:introduced=0,fixed=1.4.3.

**Is there a fix for CVE-2021-45328?** Yes. github.com/go-gitea/gitea (Go): upgrade to 1.4.3 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2021-45328?** Check whether you run github.com/go-gitea/gitea (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- github.com/go-gitea/gitea (Go): upgrade to 1.4.3 or later

  ```sh
  go get github.com/go-gitea/gitea@v1.4.3
  ```


## Affected products

- github.com/go-gitea/gitea (Go) SEMVER:introduced=0,fixed=1.4.3

## Identifiers

- CVE-2021-45328
- GHSA-36h2-95gj-w488
- GO-2022-0579

## Related threats

- [Gitea open redirect via backslash-encoded paths in redirect_to parameter](https://junglewise.ai/threats/cve-2026-25779-gitea-open-redirect-via-backslash-encoded-paths-in-redirect-to)
- [GO-2026-4362 - Gitea improperly exposes issue and pull request titles in code.gitea.io/gitea](https://junglewise.ai/threats/cve-2026-20800-gitea-improperly-exposes-issue-and-pull-request-titles)
- [GO-2026-4369 - Gitea does not properly validate ownership when toggling OpenID URI visibility in code.gitea.io/gitea](https://junglewise.ai/threats/cve-2026-20904-gitea-does-not-properly-validate-ownership-when-toggling-openid)
- [Gitea improperly exposes issue titles and repository names through previously started stopwatches](https://junglewise.ai/threats/cve-2026-20883-gitea-improperly-exposes-issue-titles-and-repository-names)
- [Gitea does not properly verify authorization when canceling scheduled auto-merges via the web interface](https://junglewise.ai/threats/cve-2026-20888-gitea-does-not-properly-verify-authorization-when-canceling)
