CVE-2024-44625
Aliases:GHSA-phm4-wf3h-pc3rGO-2024-3275
Advisory lineage Upstream: 0 Downstream: 1
Downstream
Modified
Published: 15 Nov 2024, 00:00
Last modified:20 Nov 2024, 20:20
Vulnerability Summary
Overall Risk (default)
high
62/100 CVSS Score
8.8 HIGH
v3.1 (cve.org)
EPSS Score
81.79% CRITICAL
82% probability +15.82%
KEV
Not listed
Ransomware
No reports
Public exploits
1 found
Dark Web
Not detected
Timeline
15 Nov 2024, 00:00
Published
Vulnerability first disclosed
20 Nov 2024, 20:20
Last Modified
Vulnerability information updated
Description
Gogs <=0.13.0 is vulnerable to Directory Traversal via the editFilePost function of internal/route/repo/editor.go.
CVSS Metrics
- v3.1•HIGH•Score: 8.8CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS Trends
Current EPSS score: 81.79%• Percentile: 99%
Techniques & Countermeasures
- CWE-22•Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
Affected Systems
- Unknown•Gogs
≤ 0.13.0
- gogs.io•gogs
< 0.13.2 | all
References (8)
- https://gogs.io/
- https://fysac.github.io/posts/2024/11/unpatched-remote-code-execution-in-gogs/
- https://nvd.nist.gov/vuln/detail/CVE-2024-44625
- https://fysac.github.io/posts/2024/11/unpatched-remote-code-execution-in-gogs
- https://github.com/gogs/gogs
- https://gogs.io
- https://pkg.go.dev/vuln/GO-2024-3275
- https://github.com/advisories/GHSA-phm4-wf3h-pc3r