Vulnerability advisory
CVE-2024-55947
Gogs has a Path Traversal in file update API
Also known as GHSA-qf5v-rp47-55ggGO-2024-3356
Severity
- 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
Affected versions
Repository
| Affected commits | Fixed by commit |
|---|---|
| GIT github.com/gogs/gogs ↗ | |
| All commits before 0c40e600a275d490481cfeea53705810fbe94d9b | 0c40e600a275d490481cfeea53705810fbe94d9b |
| Not specified | 9a9388ace25bd646f5098cb9193d983332c34e41 |
Also listed as affected (55)
| |
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.
References
- Advisorygithub.com/CVEProject/cvelistV5/tree/main/cves/2024/55xxx/CVE-2024-55947.json ↗
- Advisorygithub.com/gogs/gogs/security/advisories/GHSA-qf5v-rp47-55gg ↗
- Advisorynvd.nist.gov/vuln/detail/CVE-2024-55947 ↗
- Reportgithub.com/gogs/gogs/issues/7582 ↗
- Fixgithub.com/gogs/gogs/commit/9a9388ace25bd646f5098cb9193d983332c34e41 ↗
- Fixgithub.com/gogs/gogs/pull/7859 ↗