Vulnerability record · CVE-2021-45331 · published 9 February 2022
CVE-2021-45331: Gitea improper authentication vulnerability
Gitea · Gitea
An Authentication Bypass vulnerability exists in Gitea before 1.5.0, which could let a malicious user gain privileges. If captured, the TOTP code for the 2FA can be submitted correctly more than once.
Description
An Authentication Bypass vulnerability exists in Gitea before 1.5.0, which could let a malicious user gain privileges. If captured, the TOTP code for the 2FA can be submitted correctly more than once.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://blog.gitea.io/2018/08/gitea-1.5.0-is-released/ | Release NotesVendor Advisory |
| https://github.com/go-gitea/gitea/pull/3878 | PatchThird Party Advisory |
| https://blog.gitea.io/2018/08/gitea-1.5.0-is-released/ | Release NotesVendor Advisory |
| https://github.com/go-gitea/gitea/pull/3878 | PatchThird Party Advisory |
Track CVE-2021-45331 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2021-45331), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.