5.0medium
SSRF in repository migration
- Severity
- 5.0medium CVSS:3.0 by GitHub
- Published
- Last changed
- Also known as
- GO-2022-0377
Description
Impact
The malicious user is able to discover services in the internal network through repository migration functionality. All installations accepting public traffic are affected.
Patches
Internal network CIDRs are prohibited to be used as repository migration targets. Users should upgrade to 0.12.5 or the latest 0.13.0+dev.
Workarounds
Run Gogs in its own private network.
References
https://www.huntr.dev/bounties/327797d7-ae41-498f-9bff-cc0bf98cf531/
For more information
If you have any questions or comments about this advisory, please post on #6754.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| gogs.io/gogs (Go) | before 0.12.5 | GitHub Advisory Database, Go Vulnerability Database |
Classification
What each source says
GitHub Advisory Database
Impact
The malicious user is able to discover services in the internal network through repository migration functionality. All installations accepting public traffic are affected.
Patches
Internal network CIDRs are prohibited to be used as repository migration targets. Users should upgrade to 0.12.5 or the latest 0.13.0+dev.
Workarounds
Run Gogs in its own private network.
References
https://www.huntr.dev/bounties/327797d7-ae41-498f-9bff-cc0bf98cf531/
For more information
If you have any questions or comments about this advisory, please post on #6754.
Go Vulnerability Database
SSRF in repository migration in gogs.io/gogs
References
Sources
| Source | Record | Licence |
|---|---|---|
| GitHub Advisory Database | GHSA-q347-cg56-pcq4 changed 2024-08-21 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2022-0377 changed 2026-03-03 | CC-BY-4.0 |