CVEvulnerability
CVE-2024-55947
8.7 HIGH
Official page ↗
- Status
- Analyzed
- Published
- 2024-12-23
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 4.0 ([email protected])
- 8.7 HIGH — 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- CVSS 3.1 ([email protected])
- 8.8 HIGH — CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-22
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.
Affected configurations
• gogs gogs (< 0.13.1)
Related
Weakness · CWE (1)
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness
References
- https://github.com/gogs/gogs/commit/9a9388ace25bd646f5098cb9193d983332c34e41 Patch
- https://github.com/gogs/gogs/issues/7582 Issue Tracking
- https://github.com/gogs/gogs/pull/7859 Patch
- https://github.com/gogs/gogs/security/advisories/GHSA-qf5v-rp47-55gg Exploit, Vendor Advisory
- https://github.com/gogs/gogs/security/advisories/GHSA-qf5v-rp47-55gg Exploit, Vendor Advisory