Vulnerability · Published Feb 9, 2022 · Assigned by mitre

CVE-2021-45331

Critical 9.8

In plain English

A critical-severity security flaw in the gitea package (Alpine). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.4% (higher than 73% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)9.8Critical
Exploit odds (30 days)1.4%top 26.8% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20gitea1.5.1-r0ALPINE-CVE-2021-45331
Alpine:v3.21gitea1.5.1-r0ALPINE-CVE-2021-45331
Alpine:v3.22gitea1.5.1-r0ALPINE-CVE-2021-45331
Alpine:v3.23gitea1.5.1-r0ALPINE-CVE-2021-45331
Alpine:v3.24gitea1.5.1-r0ALPINE-CVE-2021-45331
Gocode.gitea.io/gitea1.5.0GHSA-hfmf-q69j-6m5p
Gocode.gitea.io/gitea1.5.0GO-2022-0315

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

References