Cyber Resilience

CVE-2022-0870

MediumPublic PoC

Published: 11 March 2022

Published
11 March 2022
Modified
21 November 2024
KEV Added
Patch
CVSS Score v3.1 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
EPSS Score 0.1169 93.8th percentile
Risk Priority 18 60% EPSS · 20% KEV · 20% CVSS

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

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

gogs
gogs
≤ 0.12.5

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.

addresses: CWE-918

Penetration testing attempts server-side requests to internal resources, identifying SSRF weaknesses for remediation.

addresses: CWE-918

Outbound connections to external resources can be monitored and limited at the boundary, reducing SSRF impact.

addresses: CWE-918

Validates server-side URLs and resource references to block SSRF attempts.

addresses: CWE-918

Detects server-side request forgery through monitoring of unexpected outbound connections.

References