{"id":"GHSA-q347-cg56-pcq4","aliases":["GO-2022-0377"],"url":"https://o3.security/vulnerability/GHSA-q347-cg56-pcq4","summary":"SSRF in repository migration","details":"### Impact\n\nThe malicious user is able to discover services in the internal network through repository migration functionality. All installations accepting public traffic are affected.\n\n### Patches\n\nInternal 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.\n\n### Workarounds\n\nRun Gogs in its own private network.\n\n### References\n\nhttps://www.huntr.dev/bounties/327797d7-ae41-498f-9bff-cc0bf98cf531/\n\n### For more information\n\nIf you have any questions or comments about this advisory, please post on #6754.\n","published":"2022-03-14T22:57:00Z","modified":"2024-08-21T14:57:07.429269Z","cvss":{"score":5,"severity":"MEDIUM","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Go","name":"gogs.io/gogs","fixedVersion":"0.12.5"}],"fix":null,"references":[{"type":"WEB","url":"https://github.com/gogs/gogs/security/advisories/GHSA-q347-cg56-pcq4"},{"type":"PACKAGE","url":"https://github.com/gogs/gogs"},{"type":"WEB","url":"https://www.huntr.dev/bounties/327797d7-ae41-498f-9bff-cc0bf98cf531"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2024-08-21T14:57:07.429269Z"}}