PT-2022-13488 · Gogs · Gogs
Published
2022-03-11
·
Updated
2024-08-21
·
CVE-2022-0870
CVSS v2.0
5.0
Medium
| Vector | AV:N/AC:L/Au:N/C:P/I:N/A:N |
Name of the Vulnerable Software and Affected Versions
gogs versions prior to 0.12.5
Description
The issue is related to Server-Side Request Forgery (SSRF) in the repository migration functionality of gogs. This allows a malicious user to discover services in the internal network. All installations that accept public traffic are affected. The internal network CIDRs are prohibited from being used as repository migration targets.
Recommendations
For versions prior to 0.12.5, upgrade to 0.12.5 or the latest 0.13.0+dev to resolve the issue. As a temporary workaround, consider running gogs in its own private network until an update can be applied. Restrict access to the repository migration functionality to minimize the risk of exploitation.
Exploit
Fix
SSRF
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Gogs