Skip to content
Fencer Intel
medium 5.0

CVE-2022-0870 json

Server-Side Request Forgery (SSRF) in gogs/gogs

published 4y ago modified 4mo ago also GHSA-7v5r-r995-q2x2 , GO-2022-0566 , EUVD-2022-1366

cvss
5.0
version 3.0, CNA
cisa kev
Not listed
not in CISA's catalog
epss
3.4%
EPSS 3.4% chance of exploitation in 30 days, percentile 88%
public exploits
0
none known, plus a Nuclei check

Summary

Server-Side Request Forgery (SSRF) in GitHub repository gogs/gogs prior to 0.12.5.

Patch / fix

  • go gogs.io/gogs 0.12.5
  • gogs gogs/gogs 0.12.5
  • gogs Alpine 3.20, Alpine 3.19, Alpine 3.18 +3 more 0.12.6-r0

alpine advisories ALPINE-CVE-2022-0870

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Is CVE-2022-0870 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Exploit prediction

3.42% chance of exploitation in the next 30 days, higher than 88% of all scored CVEs (FIRST EPSS, 2026-11-09).

Exploits and checks

  • Nuclei template Gogs <0.12.5 - Server-Side Request Forgery nuclei detection template
  • huntr.dev https://huntr.dev/bounties/327797d7-ae41-498f-9bff-cc0bf98cf531 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 3.0 5.0 CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N
NVD 3.1 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
NVD 2.0 5.0 AV:N/AC:L/Au:N/C:P/I:N/A:N
GitHub 3.0 5.0 CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N

Affected packages

ecosystem package affected fixed in
go gogs.io/gogs
<0.12.5
0.12.5

Affected products

  • gogs gogs/gogs

Classification

Weakness
  • CWE-918 Server-Side Request Forgery

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.