Vulnerability · Published Feb 8, 2022 · Assigned by mitre
CVE-2021-45327
Critical 9.8
In plain English
A critical-severity security flaw in the gitea package (Alpine). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.1% (higher than 82% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)9.8Critical
Exploit odds (30 days)2.1%top 17.9% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | gitea | 1.11.2-r0 | ALPINE-CVE-2021-45327 |
| Alpine:v3.21 | gitea | 1.11.2-r0 | ALPINE-CVE-2021-45327 |
| Alpine:v3.22 | gitea | 1.11.2-r0 | ALPINE-CVE-2021-45327 |
| Alpine:v3.23 | gitea | 1.11.2-r0 | ALPINE-CVE-2021-45327 |
| Alpine:v3.24 | gitea | 1.11.2-r0 | ALPINE-CVE-2021-45327 |
| Go | code.gitea.io/gitea | 1.11.2 | GO-2022-0310 |
| Go | github.com/go-gitea/gitea | 1.11.2 | GHSA-jrpg-35hw-m4p9 |
| Ubuntu:22.04:LTS | golang-code.gitea-git | no fix listed | UBUNTU-CVE-2021-45327 |
| Ubuntu:22.04:LTS | golang-code.gitea-sdk | no fix listed | UBUNTU-CVE-2021-45327 |
Affected products (as reported)
References
- https://blog.gitea.io/2020/03/gitea-1.11.2-is-released/ x_refsource_MISC
- https://github.com/go-gitea/gitea/pull/10462 x_refsource_MISC
- https://github.com/go-gitea/gitea/pull/10465 x_refsource_MISC
- https://github.com/go-gitea/gitea/pull/10582 x_refsource_MISC