CVE-2022-0870Server-Side Request Forgery (SSRF) in gogs/gogs
Server-Side Request Forgery (SSRF) in GitHub repository gogs/gogs prior to 0.12.5.
What to do
Fixed builds are available from Alpine, Go: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Alpine Linux 3.20 | gogs | Fixed | 0.12.6-r0 | ALPINE-CVE-2022-0870 |
| Alpine Linux 3.19 | gogs | Fixed | 0.12.6-r0 | ALPINE-CVE-2022-0870 |
| Alpine Linux 3.18 | gogs | Fixed | 0.12.6-r0 | ALPINE-CVE-2022-0870 |
| Alpine Linux 3.17 | gogs | Fixed | 0.12.6-r0 | ALPINE-CVE-2022-0870 |
| Alpine Linux 3.16 | gogs | Fixed | 0.12.6-r0 | ALPINE-CVE-2022-0870 |
| Alpine Linux 3.15 | gogs | Fixed | 0.12.6-r0 | ALPINE-CVE-2022-0870 |
| Go library | gogs.io/gogs | Fixed | 0.12.5 | GHSA-7v5r-r995-q2x2 |
What the vendor says
As published in the CVE record by @huntrdev, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- gogs/gogs: affected: unspecified to before 0.12.5; fixed in
0.12.5
References
- https://huntr.dev/bounties/327797d7-ae41-498f-9bff-cc0bf98cf531
- https://github.com/gogs/gogs/commit/91f2cde5e95f146bfe4765e837e7282df6c7cabb
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.