{"id":"CVE-2021-45325","aliases":["CVE-2021-45325","GHSA-8h8p-x289-vvqr","BIT-GITEA-2021-45325","GO-2022-0308"],"related":[],"kind":"vulnerability","state":"published","title":"Gitea displaying raw OpenID error in UI","summary":"Server Side Request Forgery (SSRF) vulneraility exists in Gitea before 1.7.0 using the OpenID URL.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Server Side Request Forgery (SSRF) vulneraility exists in Gitea before 1.7.0 using the OpenID URL.","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"},{"lang":"en","text":"Gitea displaying raw OpenID error in UI in github.com/go-gitea/gitea","format":"markdown","source":"go"},{"lang":"es","text":"Se presenta una vulnerabilidad de tipo Server Side Request Forgery (SSRF) en Gitea versiones anteriores a 1.7.0, usando URL de OpenID","source":"nvd"}],"published":"2022-02-08T14:36:14.000Z","modified":"2026-09-08T08:47:32.737Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","score":5,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-918"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.7.0"}],"ecosystem":"Go","package":"github.com/go-gitea/gitea","purl":"pkg:golang/github.com/go-gitea/gitea","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.7.0"}],"ecosystem":"Go","package":"github.com/go-gitea/gitea","purl":"pkg:golang/github.com/go-gitea/gitea","source":"go"},{"ranges":[{"status":"affected","fixed":"1.7.0"}],"vendor":"gitea","product":"gitea","cpe":"cpe:2.3:a:gitea:gitea:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.7.0"}],"ecosystem":"Bitnami","package":"gitea","purl":"pkg:bitnami/gitea","source":"bitnami"}],"references":[{"url":"https://blog.gitea.io/2019/01/gitea-1.7.0-is-released/","tags":["advisory","release-notes","vendor-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://github.com/go-gitea/gitea/pull/5705","tags":["advisory","fix","patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-45325","tags":["advisory","web"],"sources":["ghsa","go","bitnami"]},{"url":"https://github.com/go-gitea/gitea/issues/4973","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/go-gitea/gitea/pull/5712","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://blog.gitea.io/2019/01/gitea-1.7.0-is-released","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/go-gitea/gitea","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-8h8p-x289-vvqr","tags":["advisory"],"sources":["go"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-45325","url":"https://www.cve.org/CVERecord?id=CVE-2021-45325","licence":"CVE Terms of Use","modified":"2024-08-04T04:39:20.458Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-8h8p-x289-vvqr","url":"https://github.com/advisories/GHSA-8h8p-x289-vvqr","licence":"CC-BY-4.0","modified":"2024-08-21T14:56:54.323Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2022-0308","url":"https://pkg.go.dev/vuln/GO-2022-0308","licence":"CC-BY-4.0","modified":"2026-03-03T04:52:06.663Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-45325","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-45325","licence":"Public domain","modified":"2026-06-17T04:13:15.943Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-GITEA-2021-45325","url":"https://osv.dev/vulnerability/BIT-GITEA-2021-45325","licence":"Apache-2.0","modified":"2026-09-08T08:47:32.737Z"}],"updatedAt":"2026-11-25T22:58:06.793Z","epss":{"score":0.01049,"percentile":0.65177,"date":"2026-12-01T12:00:22.000Z"}}