Vulnerability · Published Jun 9, 2022 · Assigned by @huntrdev
CVE-2022-1986OS Command Injection in gogs/gogs
Critical 10.0
In plain English
A critical-severity OS command injection 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 4.2% (higher than 91% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.0)10.0Critical
Exploit odds (30 days)4.2%top 9.0% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
OS Command Injection in GitHub repository gogs/gogs prior to 0.12.9.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | gogs.io/gogs | 0.12.9 | GHSA-67mx-jc2f-jgjm |
| Go | gogs.io/gogs | 0.12.9 | GO-2022-0556 |
Affected products (as reported)
Weakness: CWE-78 · Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
References
- https://huntr.dev/bounties/776e8f29-ff5e-4501-bb9f-0bd335007930 x_refsource_CONFIRM
- https://github.com/gogs/gogs/commit/38aff73251cc46ced96dd608dab6190415032a82 x_refsource_MISC