CVE-2021-45331
highpriority · track · 40EPSS 0.014 · 73 %ileEUUSEPSS · scored 2026-10-26
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
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · high–critical · 7.5–9.8
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (4)
Products and version ranges known to be affected.
advisories (3)
Vendor and ecosystem advisories describing this.
- GHSA-hfmf-q69j-6m5pReuse of one time passwords allowed in Gitea2022-02-10ghsa · osvUS
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.
- BIT-gitea-2021-453312024-03-06vendor · osvUS
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.
- GO-2022-0315Reuse of one time passwords allowed in Gitea in code.gitea.io/gitea2024-08-21vendor · osvUS
Reuse of one time passwords allowed in Gitea in code.gitea.io/gitea
also known as (6)
Other names and identifiers for this entity.
- CNNVD-202202-836cnnvd
- EUVD-2022-1043enisa_euvd
- GHSA-hfmf-q69j-6m5penisa_euvd
- BIT-gitea-2021-45331osv
- GHSA-hfmf-q69j-6m5posv
- GO-2022-0315osv
sources
Which sources assert this record, and when.
references (7)
External citations — patches, advisories, analysis.
- https://blog.gitea.io/2018/08/gitea-1.5.0-is-released/cnnvd
- https://github.com/go-gitea/gitea/pull/3878cnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2021-45331cnnvd
- https://blog.gitea.io/2018/08/gitea-1.5.0-is-released/enisa_euvd
- https://github.com/go-gitea/gitea/pull/3878enisa_euvd
- https://blog.gitea.io/2018/08/gitea-1.5.0-is-released/Release NotesVendor Advisorynvd
- https://github.com/go-gitea/gitea/pull/3878PatchThird Party Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan