Skip to content
OpenAdvisories
Critical · 9.8 CVE-2021-45327 BIT-gitea-2021-45327EUVD-2022-1083GHSA-jrpg-35hw-m4p9GO-2022-0310

Capture-replay in Gitea

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

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.

ReleasePackageFixed inAdvisory
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 —
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
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

EcosystemPackageAffectedFixedRecord
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

References