Description
Gitea before 1.11.2 is affected by Trusting HTTP Permission Methods on the Server Side when referencing the vulnerable admin or user API. which could let a remote malisious user execute arbitrary code.
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.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | golang-code.gitea-git +1 | No fix yet | — |
| Ubuntu 20.04 LTS | golang-code.gitea-git +1 | No fix yet | — |
| Ubuntu 18.04 LTS | golang-code.gitea-git +1 | No fix yet | — |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | gitea | 1.11.2-r0 | — |
| Alpine v3.23 | gitea | 1.11.2-r0 | — |
| Alpine v3.22 | gitea | 1.11.2-r0 | — |
| Alpine v3.21 | gitea | 1.11.2-r0 | — |
| Alpine v3.20 | gitea | 1.11.2-r0 | — |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | gitea | 1.11.2-r0 | — |
| Alpine v3.18 | gitea | 1.11.2-r0 | — |
| Alpine v3.17 | gitea | 1.11.2-r0 | — |
| Alpine v3.16 | gitea | 1.11.2-r0 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | code.gitea.io/gitea | < 1.11.2 | 1.11.2 | GO-2022-0310 |
| Go | github.com/go-gitea/gitea | < 1.11.2 | 1.11.2 | GHSA-jrpg-35hw-m4p9 |