CVE-2022-0870
Published: 11 March 2022
Summary
CVE-2022-0870 is a medium-severity SSRF (CWE-918) vulnerability in Gogs Gogs. Its CVSS base score is 5.3 (Medium).
Operationally, ranked in the top 6.2% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.
Deeper analysis
CVE-2022-0870 is a Server-Side Request Forgery vulnerability, tracked as CWE-918, that affects the Gogs open-source Git service in versions prior to 0.12.5. The flaw received a CVSS 3.1 base score of 5.3, reflecting network attackability with low complexity, no required privileges or user interaction, and limited impact confined to confidentiality.
An unauthenticated remote attacker can supply crafted requests that cause the Gogs server to issue outbound HTTP requests to arbitrary internal or external destinations, enabling the attacker to probe or retrieve limited data otherwise inaccessible from outside the network.
The referenced GitHub commit and associated huntr.dev report document the corrective change merged into the 0.12.5 release; administrators are therefore advised to upgrade Gogs instances to that version or later to eliminate the SSRF vector. The associated EPSS score has remained flat at 0.1169 with no material post-disclosure increase.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2022-1366
Vulnerability details
Server-Side Request Forgery (SSRF) in GitHub repository gogs/gogs prior to 0.12.5.
- CWE(s)
Related Threats
No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.
Affected Assets
Mitigating Controls
Likely Mitigating Controls AI
Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.
Penetration testing attempts server-side requests to internal resources, identifying SSRF weaknesses for remediation.
Outbound connections to external resources can be monitored and limited at the boundary, reducing SSRF impact.
Validates server-side URLs and resource references to block SSRF attempts.
Detects server-side request forgery through monitoring of unexpected outbound connections.