PT-2024-10015 · Gogs · Gogs

Published

2024-08-10

·

Updated

2025-01-03

·

CVE-2024-44625

CVSS v2.0

9.0

High

VectorAV:N/AC:L/Au:S/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions Gogs versions <=0.13.0
Description The issue is related to a Directory Traversal vulnerability via the editFilePost function in the internal/route/repo/editor.go file. This vulnerability is caused by improper restriction of the directory path name, allowing a remote attacker to execute arbitrary code.
Recommendations For Gogs versions <=0.13.0, as a temporary workaround, consider disabling the editFilePost function until a patch is available. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Path traversal

Weakness Enumeration

Related Identifiers

BDU:2025-00143
CVE-2024-44625
GHSA-PHM4-WF3H-PC3R
GO-2024-3275
OPENSUSE-SU-2024:14513-1

Affected Products

Gogs