Advisory

GHSA-phm4-wf3h-pc3r

Also known as: CVE-2024-44625, GO-2024-3275

Summary

Remote Code Execution in Gogs

Details

Gogs <0.13.2 is vulnerable to symbolic link path traversal that enables remote code execution via the editFilePost function of internal/route/repo/editor.go.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2024-11-15 18:30 UTC
Modified
2025-10-08 14:27 UTC

Affected packages and fixes

gogs.io/gogs

Go · All systems

Affected

  • introduced 0, fixed 0.13.2 (semver)

Fixed versions

0.13.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