CVE-2024-55947
HIGH 8.7CVSS 4.0Path Traversal in file update API in gogs
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.
- Published
- 23 Dec 2024
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-22
- Also known as
- GHSA-qf5v-rp47-55ggGO-2024-3356
- Sources
- NVDJSONOSV GHSA-qf5v-rp47-55ggJSONOSV GO-2024-3356JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | HIGH 8.7 | 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 |
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | gogs | gogscpe:2.3:a:gogs:gogs:*:*:*:*:*:*:*:* |
< 0.13.1 | 0.13.1 |
| OSV | Go | gogs.io/gogs | < 0.13.1 | 0.13.1 |
References
- https://github.com/gogs/gogs/commit/9a9388ace25bd646f5098cb9193d983332c34e41 · Patch, WEB
- https://github.com/gogs/gogs/issues/7582 · Issue Tracking, WEB
- https://github.com/gogs/gogs/pull/7859 · Patch, WEB
- https://github.com/gogs/gogs/security/advisories/GHSA-qf5v-rp47-55gg · Exploit, Vendor Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2024-55947 · ADVISORY
- https://github.com/gogs/gogs · PACKAGE
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 23 Dec 2024)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 7 Jan 2025)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 23 Dec 2024)