gogs.io/gogs
Affected
- introduced
0, fixed0.12.5(semver)
Fixed versions
0.12.5
Fix
- Fixed version
0.12.5go get gogs.io/[email protected]
Advisory
Also known as: GO-2022-0377
SSRF in repository migration
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.
Medium Basis: The source's own band: MODERATE
0, fixed 0.12.5 (semver)0.12.5
0.12.5go get gogs.io/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0