Skip to content
OpenAdvisories
High · 8.8 Public exploit CVE-2024-44625 EUVD-2024-3293GHSA-phm4-wf3h-pc3rGO-2024-3275

Remote Code Execution in Gogs

Published Nov 15, 2024 · Updated Nov 20, 2024 · Assigned by mitre

Description

Gogs <=0.13.0 is vulnerable to Directory Traversal via the editFilePost function of internal/route/repo/editor.go.

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
openSUSE Tumbleweed govulncheck-vulndb 0.0.20241119T173509-1.1 openSUSE-SU-2024:14513-1

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 2 repositories

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
Go gogs.io/gogs < 0.13.2 0.13.2 GHSA-phm4-wf3h-pc3r
Go gogs.io/gogs all versions — GO-2024-3275

Advisories 1

References