CVE-2021-45325
HIGH 7.5CVSS 3.1Gitea displaying raw OpenID error in UI
Server Side Request Forgery (SSRF) vulneraility exists in Gitea before 1.7.0 using the OpenID URL.
- Published
- 8 Feb 2022
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-918
- Also known as
- BIT-gitea-2021-45325GHSA-8h8p-x289-vvqrGO-2022-0308
- Sources
- NVDJSONOSV GHSA-8h8p-x289-vvqrJSONOSV GO-2022-0308JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | gitea | giteacpe:2.3:a:gitea:gitea:*:*:*:*:*:*:*:* |
< 1.7.0 | 1.7.0 |
| OSV | Go | github.com/go-gitea/gitea | < 1.7.0 | 1.7.0 |
References
- https://blog.gitea.io/2019/01/gitea-1.7.0-is-released/ · Release Notes, Vendor Advisory, WEB
- https://github.com/go-gitea/gitea/pull/5705 · Patch, Third Party Advisory, WEB, FIX
- https://nvd.nist.gov/vuln/detail/CVE-2021-45325 · ADVISORY
- https://github.com/go-gitea/gitea/issues/4973 · WEB
- https://github.com/go-gitea/gitea/pull/5712 · WEB, FIX
- https://github.com/go-gitea/gitea · PACKAGE
- https://github.com/advisories/GHSA-8h8p-x289-vvqr · ADVISORY
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 8 Feb 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 21 Aug 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 9 Feb 2022)