PT-2022-12323

CVE-2021-45331

·

Published

2022-02-09

·

Updated

2026-10-01

Description by

CVSS 3.1
9.8
Critical
MetricsAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Gitea versions prior to 1.5.0
Description The issue allows a malicious user to bypass authentication, potentially gaining privileges. Specifically, it enables the reuse of one-time passwords, including the TOTP code for 2FA, which can be submitted correctly more than once. This could be exploited through the API endpoint related to authentication, although the exact endpoint is not specified.
Recommendations For versions prior to 1.5.0, update to version 1.5.0 or later to resolve the issue. As a temporary workaround, consider restricting access to the 2FA functionality until the update can be applied.
Exploitability
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-HFMF-Q69J-6M5P
BIT-GITEA-2021-45331
CLEANSTART-2025-HO72707
GO-2022-0315
Found an issue in the description? Have something to add? Feel free to write us 👾