CVE-2021-45331

CRITICAL

Gitea < 1.5.0 - Authentication Bypass via TOTP Reuse

Title source: llm
STIX 2.1

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.

References (2)

Core 2
Core References
Release Notes, Vendor Advisory x_refsource_misc
https://blog.gitea.io/2018/08/gitea-1.5.0-is-released/
Patch, Third Party Advisory x_refsource_misc
https://github.com/go-gitea/gitea/pull/3878

Scores

CVSS v3 9.8
EPSS 0.0130
EPSS Percentile 66.8%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-287
Status published
Products (2)
code.gitea.io/gitea 0 - 1.5.0Go
gitea/gitea < 1.5.0
Published Feb 09, 2022
Tracked Since Feb 18, 2026