{"id":"CVE-2021-45327","aliases":["CVE-2021-45327","GHSA-jrpg-35hw-m4p9","BIT-GITEA-2021-45327","GO-2022-0310"],"related":[],"kind":"vulnerability","state":"published","title":"Capture-replay in Gitea","summary":"Gitea before 1.11.2 is affected by Trusting HTTP Permission Methods on the Server Side when referencing the vulnerable admin or user API. which could let a remote malisious user execute arbitrary code.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Gitea before 1.11.2 is affected by Trusting HTTP Permission Methods on the Server Side when referencing the vulnerable admin or user API. which could let a remote malisious user execute arbitrary code.","source":"cvelist"},{"lang":"en","text":"Gitea is a project to help users set up a self-hosted Git service. Gitea before 1.11.2 is affected by Trusting HTTP Permission Methods on the Server Side when referencing the vulnerable admin or user API. This could allow a remote malicious user to execute arbitrary code.","format":"markdown","source":"ghsa"},{"lang":"en","text":"Capture-replay in Gitea in code.gitea.io/gitea","format":"markdown","source":"go"},{"lang":"es","text":"Gitea versiones anteriores a 1.11.2, está afectado por los Métodos de Permiso HTTP Confiables en el Lado del Servidor cuando hace referencia a la API de administración o de usuario vulnerable, lo que podría permitir a un usuario remoto malicioso ejecutar código arbitrario","source":"nvd"}],"published":"2022-02-08T14:57:36.000Z","modified":"2026-09-08T08:47:33.142Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","score":7.5,"rating":"HIGH"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"CRITICAL"}],"cwes":["CWE-294","CWE-436"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.11.2"}],"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.11.2"}],"ecosystem":"Go","package":"code.gitea.io/gitea","purl":"pkg:golang/code.gitea.io/gitea","source":"go"},{"ranges":[{"status":"affected","fixed":"1.11.2"}],"vendor":"gitea","product":"gitea","cpe":"cpe:2.3:a:gitea:gitea:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.11.2"}],"ecosystem":"Bitnami","package":"gitea","purl":"pkg:bitnami/gitea","source":"bitnami"}],"references":[{"url":"https://blog.gitea.io/2020/03/gitea-1.11.2-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/10462","tags":["advisory","patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://github.com/go-gitea/gitea/pull/10465","tags":["advisory","patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://github.com/go-gitea/gitea/pull/10582","tags":["advisory","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-45327","tags":["advisory","web"],"sources":["ghsa","go","bitnami"]},{"url":"https://github.com/go-gitea/gitea/commit/4cb18601ff33dda5edb47d5b452cc8f2dc39dd67","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/go-gitea/gitea/commit/6f5656ab0ebec03fe63898208dabc802c4be46ab","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/go-gitea/gitea/commit/ed664a9e1dae4d4660e60c981173bbc5102e69ea","tags":["web"],"sources":["ghsa","go"]},{"url":"https://blog.gitea.io/2020/03/gitea-1.11.2-is-released","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/go-gitea/gitea","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-jrpg-35hw-m4p9","tags":["advisory"],"sources":["go"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-45327","url":"https://www.cve.org/CVERecord?id=CVE-2021-45327","licence":"CVE Terms of Use","modified":"2024-08-04T04:39:20.407Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-jrpg-35hw-m4p9","url":"https://github.com/advisories/GHSA-jrpg-35hw-m4p9","licence":"CC-BY-4.0","modified":"2024-08-21T14:57:03.887Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2022-0310","url":"https://pkg.go.dev/vuln/GO-2022-0310","licence":"CC-BY-4.0","modified":"2026-03-03T04:52:07.840Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-45327","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-45327","licence":"Public domain","modified":"2026-06-17T04:13:16.173Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-GITEA-2021-45327","url":"https://osv.dev/vulnerability/BIT-GITEA-2021-45327","licence":"Apache-2.0","modified":"2026-09-08T08:47:33.142Z"}],"updatedAt":"2026-11-25T22:58:06.794Z","epss":{"score":0.02139,"percentile":0.82732,"date":"2026-11-30T12:00:22.000Z"}}