Advisory

GHSA-hfmf-q69j-6m5p

Also known as: BIT-gitea-2021-45331, CVE-2021-45331, GO-2022-0315

Summary

Reuse of one time passwords allowed in Gitea

Details

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

Critical Basis: The source's own band: CRITICAL

Dates

Published
2022-02-10 00:00 UTC
Modified
2024-08-21 14:56 UTC

Affected packages and fixes

code.gitea.io/gitea

Go · All systems

Affected

  • introduced 0, fixed 1.5.0 (semver)

Fixed versions

1.5.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences