{"cve":"CVE-2021-45331","nvd":{"published":"2022-02-09T18:15:10.013","modified":"2026-06-17T04:13:16.633","status":"Modified","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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-287"],"references":["https://blog.gitea.io/2018/08/gitea-1.5.0-is-released/","https://github.com/go-gitea/gitea/pull/3878","https://blog.gitea.io/2018/08/gitea-1.5.0-is-released/","https://github.com/go-gitea/gitea/pull/3878"],"products":["gitea:gitea"],"source":"nvd","synced_at":"2026-10-19T21:28:04.509275555+00:00"},"epss":{"cve":"CVE-2021-45331","score":0.01435,"percentile":0.73102,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-hfmf-q69j-6m5p","url":"https://osv.dev/vulnerability/GHSA-hfmf-q69j-6m5p","summary":"Reuse of one time passwords allowed in Gitea","modified":"2024-08-21T14:56:46.711542Z","packages":[{"ecosystem":"Go","name":"code.gitea.io/gitea","purl":"pkg:golang/code.gitea.io/gitea","ranges":["<1.5.0"],"fixed":["1.5.0"]}]},{"id":"GO-2022-0315","url":"https://osv.dev/vulnerability/GO-2022-0315","summary":"Reuse of one time passwords allowed in Gitea in code.gitea.io/gitea","modified":"2026-03-03T04:52:07.604662Z","packages":[{"ecosystem":"Go","name":"code.gitea.io/gitea","purl":"pkg:golang/code.gitea.io/gitea","ranges":["<1.5.0"],"fixed":["1.5.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}