CVE-2024-55947 in the critical feed json
Gogs has a Path Traversal in file update API
published 2024-12-23 22 mo ago modified 2026-09-10 1 mo ago also EUVD-2024-3608 , GHSA-qf5v-rp47-55gg , GO-2024-3356
- cvss
- 8.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 77.7%
- EPSS 77.7% chance of exploitation in 30 days, percentile 99.5%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go gogs.io/gogs 0.13.1
- gogs gogs 0.13.1
- govulncheck-vulndb SLE Module for Package Hub 15 SP6, openSUSE Leap 15.6 0.0.20250108T191942-150000.1.26.1
suse advisories SUSE-SU-2025:0060-1
- govulncheck-vulndb openSUSE Tumbleweed 0.0.20250108T191942-1.1
opensuse advisories openSUSE-SU-2025:14624-1
- github.com/gogs/gogs@9a9388a commit
- github.com/gogs/gogs#7859 pull request
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 22 mo ago
Exploit prediction
77.69% chance of exploitation in the next 30 days, higher than 99.5% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/gogs/gogs/security/advisories/GHSA-qf5v-rp47-55gg referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 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 |
| GitHub | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| CNA | 4.0 | 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 |
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | gogs.io/gogs | <0.13.1 |
0.13.1 |
Affected products
- gogs gogs
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
github.com
/gogs/gogs/pull/7859
web, patch
-
github.com
/gogs/gogs/commit/9a9388ace25bd646f5098cb9193d983332c34e41
web, patch
-
github.com
/gogs/gogs/security/advisories/GHSA-qf5v-rp47-55gg
exploit, web, vendor-advisory, advisory
-
github.com
/gogs/gogs/issues/7582
web, issue-tracking
-
nvd.nist.gov
/vuln/detail/CVE-2024-55947
advisory
-
github.com
/gogs/gogs
package
Sources
- CVE List CVE-2024-55947
- GitHub Advisory GHSA-qf5v-rp47-55gg
- NVD CVE-2024-55947
- OSV GO-2024-3356
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.