Gogs is an open source self-hosted Git service. A malicious user is able to write a file to an arbitrary path on the server to gain SSH access to the server. The vulnerability is fixed in 0.13.1.

Project Subscriptions

Vendors Products
Advisories
Source ID Title
EUVD EUVD EUVD-2024-3608 Path Traversal in file update API in gogs
Github GHSA Github GHSA GHSA-qf5v-rp47-55gg Path Traversal in file update API in gogs
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Thu, 10 Apr 2025 15:15:00 +0000

Type Values Removed Values Added
First Time appeared Gogs
Gogs gogs
CPEs cpe:2.3:a:gogs:gogs:*:*:*:*:*:*:*:*
Vendors & Products Gogs
Gogs gogs
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}


Tue, 24 Dec 2024 16:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 23 Dec 2024 15:30:00 +0000

Type Values Removed Values Added
Description Gogs is an open source self-hosted Git service. A malicious user is able to write a file to an arbitrary path on the server to gain SSH access to the server. The vulnerability is fixed in 0.13.1.
Title Gogs has a Path Traversal in file update API
Weaknesses CWE-22
References
Metrics cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2024-12-24T15:59:02.793Z

Reserved: 2024-12-13T17:39:32.960Z

Link: CVE-2024-55947

cve-icon Vulnrichment

Updated: 2024-12-24T15:58:56.619Z

cve-icon NVD

Status : Analyzed

Published: 2024-12-23T16:15:07.253

Modified: 2025-04-10T14:47:42.700

Link: CVE-2024-55947

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses