Path Traversal in Gogs
CVE-2024-54148
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.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.009 (56.7th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 57th percentile — 56.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.009 · newest: 0.009 · change: -0.000
Affected products
- Gogs — versions < 0.13.1
Weakness classification (CWE)
References
- github.com/gogs/gogs/security/advisories/GHSA-r7j8-5h9c-f6fx (Exploit, Vendor Advisory)
- github.com/gogs/gogs/issues/7582 (Issue Tracking)
- github.com/gogs/gogs/pull/7857 (Patch)
- github.com/gogs/gogs/commit/c94baec9ca923f38c19f0c7c5af722b9ec04022a (Patch)
Frequently asked questions
- What is CVE-2024-54148?
- CVE-2024-54148 is a critical-severity vulnerability in Gogs, classified under Path Traversal. CVSS score: 9.8/10. Published 2024-12-23.
- How severe is CVE-2024-54148?
- Critical severity. CVSS v3 base score is 9.8 out of 10.