CVE-2021-45326
8.8high
Cross Site Request Forgery in Gitea
- Severity
- 8.8high CVSS:3.1 by NVD
- Exploit likelihood
- 0.61% (higher than 50% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-4wp3-8q92-mh8wBIT-GITEA-2021-45326GO-2022-0309
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
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| github.com/go-gitea/gitea (Go) | before 1.5.2 | GitHub Advisory Database, Go Vulnerability Database |
| gitea gitea | before 1.5.2 | NVD |
| gitea (Bitnami) | before 1.5.2 | Bitnami Vulnerability Database |
All scores
| GitHub | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 6.8medium CVSS:2.0 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
| Bitnami Vulnerability Database | high rating |
Classification
What each source says
CVE List
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.
Go Vulnerability Database
Cross Site Request Forgery in Gitea in github.com/go-gitea/gitea
NVD (es)
Se presenta una vulnerabilidad de tipo Cross Site Request Forgery (CSRF) en Gitea versiones anteriores a 1.5.2, por medio de las rutas de la API. Esto puede ser peligroso especialmente con peticiones POST que alteran el estado
References
| https://blog.gitea.io/2018/10/gitea-1.5.2-is-released/ | advisory, release-notes, vendor-advisory | |
| https://github.com/go-gitea/gitea/pull/4840 | advisory, fix, patch, third-party-advisory, web | |
| https://github.com/go-gitea/gitea/issues/4838 | advisory, issue-tracking, report, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-45326 | advisory, web | |
| https://blog.gitea.io/2018/10/gitea-1.5.2-is-released | web | |
| https://github.com/go-gitea/gitea | package | |
| https://github.com/advisories/GHSA-4wp3-8q92-mh8w | advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-45326 changed 2024-08-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-4wp3-8q92-mh8w changed 2024-08-21 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2022-0309 changed 2026-03-03 | CC-BY-4.0 |
| NVD | CVE-2021-45326 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-GITEA-2021-45326 changed 2026-09-08 | Apache-2.0 |