Advisory

GHSA-hf6f-jq25-8gq9

Also known as: CVE-2018-18926, GO-2022-0844

Summary

Gitea Remote Code Execution (RCE)

Details

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.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2022-02-15 01:57 UTC
Modified
2024-08-21 15:58 UTC

Affected packages and fixes

code.gitea.io/gitea

Go · All systems

Affected

  • introduced 0, fixed 1.5.2 (semver)

Fixed versions

1.5.2

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences