Vulnerability DatabaseGHSA-q347-cg56-pcq4

GHSA-q347-cg56-pcq4
vulnerability analysis and mitigation

Overview

A Server-Side Request Forgery (SSRF) vulnerability was discovered in Gogs repository migration functionality, identified as GHSA-q347-cg56-pcq4 and CVE-2022-0870. The vulnerability affects Gogs versions prior to 0.12.5, with the issue being publicly disclosed on March 12, 2022. This security flaw impacts all Gogs installations that accept public traffic (GitHub Advisory).

Technical details

The vulnerability is classified as CWE-918 and received a CVSS v3.0 score of 5.0 (Moderate severity). The CVSS metrics indicate a network attack vector with low attack complexity, requiring low privileges and no user interaction. The scope is changed with low confidentiality impact, while integrity and availability impacts are none (CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N) (GitHub Advisory).

Impact

The vulnerability allows malicious users to discover services in the internal network through the repository migration functionality. This capability could potentially expose sensitive internal network services to unauthorized users (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in version 0.12.5, where internal network CIDRs are prohibited from being used as repository migration targets. Users are advised to upgrade to version 0.12.5 or the latest 0.13.0+dev. As a workaround, administrators can run Gogs in its own private network to minimize exposure (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management