CVE-2021-45325 json
Gitea displaying raw OpenID error in UI
published 4y ago modified 2mo ago also BIT-gitea-2021-45325 , EUVD-2022-0918 , GHSA-8h8p-x289-vvqr , GO-2022-0308
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.0%
- EPSS 1.0% chance of exploitation in 30 days, percentile 64%
- public exploits
- 0
- none known
Summary
Server Side Request Forgery (SSRF) vulneraility exists in Gitea before 1.7.0 using the OpenID URL.
Patch / fix
- go github.com/go-gitea/gitea 1.7.0
- bitnami gitea 1.7.0
- gitea gitea 1.7.0
- github.com/go-gitea/gitea#5705 pull request
- github.com/go-gitea/gitea#5712 pull request
Is CVE-2021-45325 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerExploit prediction
1.05% chance of exploitation in the next 30 days, higher than 64% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| GitHub | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
| OSV | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/go-gitea/gitea | <1.7.0 |
1.7.0 |
| bitnami | gitea | <1.7.0 |
1.7.0 |
Classification
- Weakness
-
- CWE-918 Server-Side Request Forgery
References
-
github.com
/go-gitea/gitea/pull/5705
web, patch, third-party-advisory, advisory
-
github.com
/go-gitea/gitea/pull/5712
web, patch
-
blog.gitea.io
/2019/01/gitea-1.7.0-is-released/
release-notes, vendor-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-45325
advisory, web
-
github.com
/go-gitea/gitea/issues/4973
web
-
blog.gitea.io
/2019/01/gitea-1.7.0-is-released
web
-
github.com
/go-gitea/gitea
package
-
github.com
/advisories/GHSA-8h8p-x289-vvqr
advisory
Sources
- CVE List CVE-2021-45325
- GitHub Advisory GHSA-8h8p-x289-vvqr
- NVD CVE-2021-45325
- OSV BIT-gitea-2021-45325
- OSV GO-2022-0308
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.