VDB
Sign up
CRITICAL9.8

GHSA-3393-r4p5-vhqh

Gitea Allows 1FA Even for 2FA-Enrolled Accounts

Quick fix

GHSA-3393-r4p5-vhqh — code.gitea.io/gitea: upgrade to the fixed version with the command below.

go get code.gitea.io/gitea@v1.8.0

Details

Gitea before 1.8.0 allows 1FA for user accounts that have completed 2FA enrollment. If a user's credentials are known, then an attacker could send them to the API without requiring the 2FA one-time password.

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/code.gitea.io/gitea
Introduced in: 0Fixed in: 1.8.0
Fixgo get code.gitea.io/gitea@v1.8.0

References