{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-45331","published":"2022-02-09T18:15:10.013000Z","last_modified":"2026-06-17T04:13:16.633000Z","status":"Modified","cvss":{"version":"3.1","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-287"],"cpes":[{"criteria":"cpe:2.3:a:gitea:gitea:*:*:*:*:*:*:*:*","part":"a","vendor":"gitea","product":"gitea","version_end_excluding":"1.5.0"}],"cpes_truncated":false,"vendors":["gitea"],"products":["gitea/gitea"],"epss":{"score":0.01435,"percentile":0.73368,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-hfmf-q69j-6m5p","ecosystem":"Go","name":"code.gitea.io/gitea","purl":"pkg:golang/code.gitea.io/gitea","ranges":[{"introduced":"0","fixed":"1.5.0"}],"versions":[],"versions_truncated":false},{"advisory":"GO-2022-0315","ecosystem":"Go","name":"code.gitea.io/gitea","purl":"pkg:golang/code.gitea.io/gitea","ranges":[{"introduced":"0","fixed":"1.5.0"}],"versions":[],"versions_truncated":false}],"severity":"critical","priority_score":74,"links":{"html_es":"/es/cve/CVE-2021-45331/","html_en":"/en/cve/CVE-2021-45331/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-45331","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-45331"},"untrusted":{"vendor_name":"Gitea","product_name":"Gitea","desc_en":"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.","affected":[],"references":[{"url":"https://blog.gitea.io/2018/08/gitea-1.5.0-is-released/","tags":["Release Notes","Vendor Advisory"]},{"url":"https://github.com/go-gitea/gitea/pull/3878","tags":["Patch","Third Party Advisory"]}]}}