{"id":"GHSA-hfmf-q69j-6m5p","summary":"Reuse of one time passwords allowed in Gitea","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","CVE-2021-45331","GO-2022-0315"],"modified":"2024-08-21T14:57:14.075921Z","published":"2022-02-10T00:00:22Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2022-09-08T00:01:19Z","nvd_published_at":"2022-02-09T18:15:00Z","cwe_ids":["CWE-287"],"severity":"CRITICAL"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-45331"},{"type":"WEB","url":"https://github.com/go-gitea/gitea/pull/3878"},{"type":"WEB","url":"https://blog.gitea.io/2018/08/gitea-1.5.0-is-released"}],"affected":[{"package":{"name":"code.gitea.io/gitea","ecosystem":"Go","purl":"pkg:golang/code.gitea.io/gitea"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.5.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/02/GHSA-hfmf-q69j-6m5p/GHSA-hfmf-q69j-6m5p.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}