9.8

CVE-2021-45331: gitea Improper Authentication

CVSS: 9.8v3.1CriticalModified
AliasesGHSA-hfmf-q69j-6m5pBIT-gitea-2021-45331GO-2022-0315
Published 09-02-2022Last modified 04-08-2024

Vulnerability summary

CVE-2021-45331 is a critical (CVSS 9.8) Improper Authentication vulnerability in gitea. EPSS estimates a 1.44% chance of exploitation in the next 30 days, higher than 72.6% of scored vulnerabilities.

Overall risk
70/100
0100
High · default modelHow is this calculated?
CVSS score
9.8/10
010
Critical · v3.1 (NVD)
EPSS score
1.44%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 09-02-2022
    PublishedVulnerability first disclosed.
  2. 04-08-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

3 scores · 2 sources · 2 versions

EPSS trend

Probability

1.44%

Chance of exploitation in the next 30 days

Percentile

73%

Versus all other CVEs

30-day change

0.00 pp

From 1.44% on 18-09-2026

18-09-202618-10-2026
EPSS score
1.44%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Code.gitea.io1 product
  • gitea< 1.5.0
Gitea1 product

2 vendors · 2 products

References

5 links