Skip to content
OpenAdvisories
Critical · 9.8 CVE-2021-45331 BIT-gitea-2021-45331EUVD-2022-1043GHSA-hfmf-q69j-6m5pGO-2022-0315

Reuse of one time passwords allowed in Gitea

Published Feb 9, 2022 · Updated Aug 4, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Alpine v3.24 gitea 1.5.1-r0 —
Alpine v3.23 gitea 1.5.1-r0 —
Alpine v3.22 gitea 1.5.1-r0 —
Alpine v3.21 gitea 1.5.1-r0 —
Alpine v3.20 gitea 1.5.1-r0 —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 gitea 1.5.1-r0 —
Alpine v3.18 gitea 1.5.1-r0 —
Alpine v3.17 gitea 1.5.1-r0 —
Alpine v3.16 gitea 1.5.1-r0 —

Affected packages

EcosystemPackageAffectedFixedRecord
Go code.gitea.io/gitea < 1.5.0 1.5.0 GHSA-hfmf-q69j-6m5p

References