Skip to content
OpenAdvisories
High · 8.7 CVE-2024-54148 EUVD-2024-3610GHSA-r7j8-5h9c-f6fxGO-2024-3355

Gogs has a Path Traversal in file editing UI

Published Dec 23, 2024 · Updated Dec 24, 2024 · Assigned by GitHub_M

Description

Gogs is an open source self-hosted Git service. A malicious user is able to commit and edit a crafted symlink file to a repository to gain SSH access to the server. The vulnerability is fixed in 0.13.1.

Affected products

VendorProductAffectedFixed
gogs gogs < 0.13.1 —

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
SLES 15 SP6 govulncheck-vulndb 0.0.20250108T191942-150000.1.26.1 SUSE-SU-2025:0060-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed govulncheck-vulndb 0.0.20250108T191942-1.1 openSUSE-SU-2025:14624-1
openSUSE Leap 15.6 govulncheck-vulndb 0.0.20250108T191942-150000.1.26.1 SUSE-SU-2025:0060-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go gogs.io/gogs < 0.13.1 0.13.1 GHSA-r7j8-5h9c-f6fx

Advisories 2

References