{"id":"ALPINE-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.","modified":"2026-11-03T06:32:41.654240223Z","published":"2022-02-09T18:15:10.013Z","upstream":["CVE-2021-45331"],"references":[{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2021-45331"}],"affected":[{"package":{"name":"gitea","ecosystem":"Alpine:v3.16","purl":"pkg:apk/alpine/gitea?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.1-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-45331.json"}},{"package":{"name":"gitea","ecosystem":"Alpine:v3.17","purl":"pkg:apk/alpine/gitea?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.1-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-45331.json"}},{"package":{"name":"gitea","ecosystem":"Alpine:v3.18","purl":"pkg:apk/alpine/gitea?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.1-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-45331.json"}},{"package":{"name":"gitea","ecosystem":"Alpine:v3.19","purl":"pkg:apk/alpine/gitea?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.1-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-45331.json"}},{"package":{"name":"gitea","ecosystem":"Alpine:v3.20","purl":"pkg:apk/alpine/gitea?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.1-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-45331.json"}},{"package":{"name":"gitea","ecosystem":"Alpine:v3.21","purl":"pkg:apk/alpine/gitea?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.1-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-45331.json"}},{"package":{"name":"gitea","ecosystem":"Alpine:v3.22","purl":"pkg:apk/alpine/gitea?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.1-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-45331.json"}},{"package":{"name":"gitea","ecosystem":"Alpine:v3.23","purl":"pkg:apk/alpine/gitea?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.1-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-45331.json"}},{"package":{"name":"gitea","ecosystem":"Alpine:v3.24","purl":"pkg:apk/alpine/gitea?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.1-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-45331.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}