CVE-2022-2024
CRITICAL 9.8CVSS 3.1Gogs OS Command Injection vulnerability
OS Command Injection in GitHub repository gogs/gogs prior to 0.12.11.
- Published
- 25 Feb 2023
- Last modified
- 17 Jun 2026
- Assigned by
- security@huntr.dev
- NVD status
- Modified
- Weakness
- CWE-78
- Also known as
- GHSA-pfvh-p8qp-9ww9GO-2023-1596
- Sources
- NVDJSONOSV GHSA-pfvh-p8qp-9ww9JSONOSV GO-2023-1596JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | security@huntr.dev (Secondary) | CVSS 3.0 | CRITICAL 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | gogs | gogscpe:2.3:a:gogs:gogs:*:*:*:*:*:*:*:* |
< 0.12.11 | 0.12.11 |
| OSV | Go | gogs.io/gogs | < 0.12.11 | 0.12.11 |
References
- https://github.com/gogs/gogs/commit/15d0d6a94be0098a8227b6b95bdf2daed105ec41 · Patch, WEB
- https://huntr.dev/bounties/18cf9256-23ab-4098-a769-85f8da130f97 · Exploit, Patch, WEB
- https://github.com/gogs/gogs/security/advisories/GHSA-pfvh-p8qp-9ww9 · WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2022-2024 · ADVISORY
- https://github.com/gogs/gogs/issues/7030 · WEB
- https://github.com/gogs/gogs · PACKAGE
- https://github.com/gogs/gogs/blob/f36eeedbf89328ee70cc3a2e239f6314f9021f58/conf/app.ini#L127-L129 · WEB
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 25 Feb 2023)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 20 Aug 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 28 Feb 2023)