CVE-2024-54148 Gogs has a Path Traversal in file editing UI
HighCVSS 8.7
EPSS 0.86%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: total
Description
Gogs is an open source self-hosted Git service. A malicious user is able to commit and edit a crafted symlink file to a repository 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-r7j8-5h9c-f6fx 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/7857 patch
- https://github.com/gogs/gogs/commit/c94baec9ca923f38c19f0c7c5af722b9ec04022a patch
- github.com product
- github.com