Auth bypass in Gitea

CVE-2021-45331

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.

Vulnerability class: Broken Authentication

EPSS: 0.014 (70.1th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Affected products

  • Gitea
  • N/a — versions n/a

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2021-45331?
CVE-2021-45331 is a critical-severity vulnerability in Gitea, classified under Improper Authentication. CVSS score: 9.8/10. Published 2022-02-09.
How severe is CVE-2021-45331?
Critical severity. CVSS v3 base score is 9.8 out of 10.