Vulnerability · Published Feb 8, 2022 · Assigned by mitre
CVE-2021-45326
High 8.8
In plain English
A high-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 0.6% (higher than 49% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)8.8High
Exploit odds (30 days)0.6%top 50.8% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
Cross Site Request Forgery (CSRF) vulnerability exists in Gitea before 1.5.2 via API routes.This can be dangerous especially with state altering POST requests.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | gitea | 1.5.2-r0 | ALPINE-CVE-2021-45326 |
| Alpine:v3.21 | gitea | 1.5.2-r0 | ALPINE-CVE-2021-45326 |
| Alpine:v3.22 | gitea | 1.5.2-r0 | ALPINE-CVE-2021-45326 |
| Alpine:v3.23 | gitea | 1.5.2-r0 | ALPINE-CVE-2021-45326 |
| Alpine:v3.24 | gitea | 1.5.2-r0 | ALPINE-CVE-2021-45326 |
| Go | github.com/go-gitea/gitea | 1.5.2 | GHSA-4wp3-8q92-mh8w |
| Go | github.com/go-gitea/gitea | 1.5.2 | GO-2022-0309 |
| Ubuntu:22.04:LTS | golang-code.gitea-git | no fix listed | UBUNTU-CVE-2021-45326 |
| Ubuntu:22.04:LTS | golang-code.gitea-sdk | no fix listed | UBUNTU-CVE-2021-45326 |
Affected products (as reported)
References
- https://blog.gitea.io/2018/10/gitea-1.5.2-is-released/ x_refsource_MISC
- https://github.com/go-gitea/gitea/pull/4840 x_refsource_MISC
- https://github.com/go-gitea/gitea/issues/4838 x_refsource_MISC