CVE-2022-1285 json
Server-Side Request Forgery (SSRF) in gogs/gogs
published 4y ago modified 4mo ago also GHSA-w689-557m-2cvq , GO-2022-0583 , EUVD-2022-6172
- cvss
- 8.3
- version 3.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.1%
- EPSS 1.1% chance of exploitation in 30 days, percentile 66%
- public exploits
- 0
- none known
Summary
Server-Side Request Forgery (SSRF) in GitHub repository gogs/gogs prior to 0.12.8.
Patch / fix
- go gogs.io/gogs 0.12.8
- gogs gogs/gogs 0.12.8
- gogs Alpine 3.20, Alpine 3.19, Alpine 3.18 +1 more 0.12.9-r0
alpine advisories ALPINE-CVE-2022-1285
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-1285 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 FencerExploit prediction
1.12% chance of exploitation in the next 30 days, higher than 66% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- huntr.dev https://huntr.dev/bounties/da1fbd6e-7a02-458e-9c2e-6d226c47046d referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.0 | 8.3 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L |
| NVD | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:P/I:N/A:N |
| GitHub | 3.0 | 8.3 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | gogs.io/gogs | <0.12.8 |
0.12.8 |
Affected products
- gogs gogs/gogs
Classification
- Weakness
-
- CWE-918 Server-Side Request Forgery
References
-
github.com
/gogs/gogs/commit/7885f454a4946c4bbec1b4f8c603b5eea7429c7f
web, patch, third-party-advisory
-
huntr.dev
/bounties/da1fbd6e-7a02-458e-9c2e-6d226c47046d
web, exploit, patch, third-party-advisory
-
github.com
/gogs/gogs/security/advisories/GHSA-w689-557m-2cvq
web, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-1285
advisory
-
github.com
/gogs/gogs
package
Sources
- CVE List CVE-2022-1285
- GitHub Advisory GHSA-w689-557m-2cvq
- NVD CVE-2022-1285
- OSV GO-2022-0583
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.