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.
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | code.gitea.io/gitea | < 1.5.0 | 1.5.0 | GHSA-hfmf-q69j-6m5p |