{"id":"CVE-2021-45331","details":"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.","aliases":["BIT-gitea-2021-45331","GHSA-hfmf-q69j-6m5p","GO-2022-0315"],"modified":"2025-11-20T11:56:46.676548Z","published":"2022-02-09T18:15:10.013Z","references":[{"type":"ADVISORY","url":"https://blog.gitea.io/2018/08/gitea-1.5.0-is-released/"},{"type":"FIX","url":"https://github.com/go-gitea/gitea/pull/3878"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/go-gitea/gitea","events":[{"introduced":"0"},{"fixed":"280ebcbf7c761a212fb091634384847a38f25cb0"}]}],"versions":["v0.9.99","v1.0.0","v1.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-45331.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}