CVE-2024-54148
Critical
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.
SeverityCritical
CVSS9.8
Exploit probability—
Product
Gogs
PublishedDec 23, 2024
First seenDec 23, 2024
Weakness typeCWE-61CWE-61CWE-22Path traversal
How to fix
Update
- gogs gogs0.13.1 or later
- gogs.io/gogs0.13.1 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| gogs gogs | v < 0.13.1 | 0.13.1 |
| gogs.io/gogsGo | v < 0.13.1 | 0.13.1 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.