Path Traversal in Gogs
CVE-2024-55947
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.
Vulnerability class: Path Traversal (Directory Traversal)
EPSS: 0.757 (98.9th percentile) — read the EPSS interpretation.
Affected products
- Gogs — versions < 0.13.1
Weakness classification (CWE)
References
- https://github.com/gogs/gogs/security/advisories/GHSA-qf5v-rp47-55gg (x_refsource_CONFIRM)
- https://github.com/gogs/gogs/issues/7582 (x_refsource_MISC)
- https://github.com/gogs/gogs/pull/7859 (x_refsource_MISC)
- https://github.com/gogs/gogs/commit/9a9388ace25bd646f5098cb9193d983332c34e41 (x_refsource_MISC)