CVE-2021-45327
CRITICAL 9.8CVSS 3.1Capture-replay in Gitea
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.
- Published
- 8 Feb 2022
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-294CWE-436
- Also known as
- BIT-gitea-2021-45327GHSA-jrpg-35hw-m4p9GO-2022-0310
- Sources
- NVDJSONOSV GHSA-jrpg-35hw-m4p9JSONOSV GO-2022-0310JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | gitea | giteacpe:2.3:a:gitea:gitea:*:*:*:*:*:*:*:* |
< 1.11.2 | 1.11.2 |
| OSV | Go | github.com/go-gitea/gitea | < 1.11.2 | 1.11.2 |
| OSV | Go | code.gitea.io/gitea | < 1.11.2 | 1.11.2 |
References
- https://blog.gitea.io/2020/03/gitea-1.11.2-is-released/ · Release Notes, Vendor Advisory, WEB
- https://github.com/go-gitea/gitea/pull/10462 · Patch, Third Party Advisory, WEB
- https://github.com/go-gitea/gitea/pull/10465 · Patch, Third Party Advisory, WEB
- https://github.com/go-gitea/gitea/pull/10582 · Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-45327 · ADVISORY
- https://github.com/go-gitea/gitea/commit/4cb18601ff33dda5edb47d5b452cc8f2dc39dd67 · WEB
- https://github.com/go-gitea/gitea/commit/6f5656ab0ebec03fe63898208dabc802c4be46ab · WEB
- https://github.com/go-gitea/gitea/commit/ed664a9e1dae4d4660e60c981173bbc5102e69ea · WEB
- https://github.com/go-gitea/gitea · PACKAGE
- https://github.com/advisories/GHSA-jrpg-35hw-m4p9 · 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)