Every CVE Search/ Get API key

CVE-2021-45325

Gitea displaying raw OpenID error in UI

7.5 HighFix available

Server Side Request Forgery (SSRF) vulneraility exists in Gitea before 1.7.0 using the OpenID URL.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
None
Availability
None

Exploit likelihood

1.05%Up 0.2 points since Feb 9, 2022
90%50%10%1%

What each source reports

NVD Score used 7.5

Server Side Request Forgery (SSRF) vulneraility exists in Gitea before 1.7.0 using the OpenID URL.

Record
CVE-2021-45325
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS 2.0
5.0 MediumAV:N/AC:L/Au:N/C:P/I:N/A:N
Weakness
CWE-918
Updated
2026-11-02
CVE List No score

Server Side Request Forgery (SSRF) vulneraility exists in Gitea before 1.7.0 using the OpenID URL.

Record
CVE-2021-45325
Updated
2026-11-02
EUVDEUVD-2022-0918 No score

Server Side Request Forgery (SSRF) vulneraility exists in Gitea before 1.7.0 using the OpenID URL.

Record
EUVD-2022-0918
Updated
2026-11-03
GitHub AdvisoriesGHSA-8h8p-x289-vvqr 5.3

Gitea displaying raw OpenID error in UI

Gitea is a project to help users set up a self-hosted Git service. Server Side Request Forgery (SSRF) vulnerability exists in Gitea before 1.7.0 using the OpenID URL. Gitea can leak sensitive information about the local network through the error provided by the UI.

Record
GHSA-8h8p-x289-vvqr
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Weakness
CWE-918
Updated
2026-11-02
OSV 7.5

Server Side Request Forgery (SSRF) vulneraility exists in Gitea before 1.7.0 using the OpenID URL.

Record
CVE-2021-45325
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Updated
2026-11-02
OSVGHSA-8h8p-x289-vvqr 5.3

Gitea displaying raw OpenID error in UI

Gitea is a project to help users set up a self-hosted Git service. Server Side Request Forgery (SSRF) vulnerability exists in Gitea before 1.7.0 using the OpenID URL. Gitea can leak sensitive information about the local network through the error provided by the UI.

Record
GHSA-8h8p-x289-vvqr
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Weakness
CWE-918
Updated
2026-11-02
OSVUBUNTU-CVE-2021-45325 7.5

Server Side Request Forgery (SSRF) vulneraility exists in Gitea before 1.7.0 using the OpenID URL.

Record
UBUNTU-CVE-2021-45325
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Updated
2026-11-02
OSVBIT-gitea-2021-45325 No score

Server Side Request Forgery (SSRF) vulneraility exists in Gitea before 1.7.0 using the OpenID URL.

Record
BIT-gitea-2021-45325
Updated
2026-11-02
OSVGO-2022-0308 No score

Gitea displaying raw OpenID error in UI in github.com/go-gitea/gitea

Gitea displaying raw OpenID error in UI in github.com/go-gitea/gitea

Record
GO-2022-0308
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
github.com/go-gitea/gitea
Go
before 1.7.0
1.7.0
gitea
Bitnami
before 1.7.0
1.7.0
golang-code.gitea-git
Ubuntu:18.04:LTS
All versions, plus listed versions
0.0~git20170710.0.fc63966-10.0~git20170919.0.cdb43f0-10.0~git20171222.4ec3654-10.0~git20171222.4ec3654-3
None known
golang-code.gitea-sdk
Ubuntu:18.04:LTS
All versions, plus listed versions
0.0~git20170708.0.9990008-10.0~git20170920.0.60c6048-10.0~git20171220.79eee8f-10.0~git20171220.79eee8f-3
None known
golang-code.gitea-git
Ubuntu:20.04:LTS
All versions, plus listed versions
0.0~git20171222.4ec3654-3
None known
golang-code.gitea-sdk
Ubuntu:20.04:LTS
All versions, plus listed versions
0.0~git20171220.79eee8f-3
None known
golang-code.gitea-git
Ubuntu:22.04:LTS
All versions, plus listed versions
0.0~git20190411.63b74d4+ds-1
None known
golang-code.gitea-sdk
Ubuntu:22.04:LTS
All versions, plus listed versions
0.0~git20171220.79eee8f-3
None known

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2021-45325 is a high vulnerability (CVSS 7.5) in Gitea, published February 8, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.05%, the 64th percentile. Fixed in github.com/go-gitea/gitea 1.7.0.

References

MoveEnter Open