CVE-2024-55947 Gogs has a Path Traversal in file update API
HighCVSS 8.7
EPSS 77.7%
PoC
- Published
- Updated
- Exploit status
- Proof-of-concept only
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| gogs | < 0.13.1; = < 0.13.1 | 0.13.1 | Fixed |
| gogs.io/gogs(Go) | < 0.13.1 | 0.13.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| gogs.io/gogs(Go) | < 0.13.1 | 0.13.1 |
| gogs | = < 0.13.1 | No fix listed |
| gogs | < 0.13.1 | 0.13.1 |
References
- https://github.com/gogs/gogs/security/advisories/GHSA-qf5v-rp47-55gg exploit vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/gogs/gogs/issues/7582 issue-tracking
- https://github.com/gogs/gogs/pull/7859 patch
- https://github.com/gogs/gogs/commit/9a9388ace25bd646f5098cb9193d983332c34e41 patch
- github.com product
- github.com