cve.bz

CVE-2021-45331

9.8 criticalEPSS 1.4%

Critical (9.8) in gitea gitea. EPSS 1.4% chance of exploitation in the next 30 days. Fixed in code.gitea.io/gitea 1.5.0.

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.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
1.4% chance of exploitation in the next 30 days; higher than 73% of CVEs (scores of 2026-10-31)
CWE
CWE-287
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-hfmf-q69j-6m5pGocode.gitea.io/gitea<1.5.01.5.0
GO-2022-0315Gocode.gitea.io/gitea<1.5.01.5.0

References

Check your stackJSON