Vulnerability · Published Mar 11, 2022 · Assigned by @huntrdev
CVE-2022-0870Server-Side Request Forgery (SSRF) in gogs/gogs
Medium 5.0
In plain English
A medium-severity server-side request forgery in gogs/gogs from gogs. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 3.4% (higher than 89% of all known vulnerabilities). Ready-made attack tooling exists: Nuclei. Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.0)5.0Medium
Exploit odds (30 days)3.4%top 11.0% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack tooling1Nuclei
Official description
Server-Side Request Forgery (SSRF) in GitHub repository gogs/gogs prior to 0.12.5.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | gogs | 0.12.6-r0 | ALPINE-CVE-2022-0870 |
| Go | gogs.io/gogs | 0.12.5 | GO-2022-0566 |
| Go | gogs.io/gogs | 0.12.5 | GHSA-7v5r-r995-q2x2 |
Affected products (as reported)
Weakness: CWE-918 · Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N
References
- https://huntr.dev/bounties/327797d7-ae41-498f-9bff-cc0bf98cf531 x_refsource_CONFIRM
- https://github.com/gogs/gogs/commit/91f2cde5e95f146bfe4765e837e7282df6c7cabb x_refsource_MISC