Skip to content
OpenAdvisories
Critical · 9.8 CVE-2018-18926 EUVD-2022-1042GHSA-hf6f-jq25-8gq9GO-2022-0844

Gitea Remote Code Execution (RCE)

Published Nov 4, 2018 · Updated Aug 5, 2024 · Assigned by mitre

Description

Gitea before 1.5.4 allows remote code execution because it does not properly validate session IDs. This is related to session ID handling in the go-macaron/session code for Macaron.

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 No fix yet —
Ubuntu 20.04 LTS golang-code.gitea-git No fix yet —
Ubuntu 18.04 LTS golang-code.gitea-git No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
Go code.gitea.io/gitea < 1.5.2 1.5.2 GHSA-hf6f-jq25-8gq9

References