Vulnerability · Published Oct 16, 2022 · Assigned by mitre
CVE-2022-42968
Critical 9.8
In plain English
A critical-severity argument injection in the gitea package (Alpine). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.4% (higher than 73% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)9.8Critical
Exploit odds (30 days)1.4%top 26.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official description
Gitea before 1.17.3 does not sanitize and escape refs in the git backend. Arguments to git commands are mishandled.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | gitea | 1.17.3-r0 | ALPINE-CVE-2022-42968 |
| Alpine:v3.21 | gitea | 1.17.3-r0 | ALPINE-CVE-2022-42968 |
| Alpine:v3.22 | gitea | 1.17.3-r0 | ALPINE-CVE-2022-42968 |
| Alpine:v3.23 | gitea | 1.17.3-r0 | ALPINE-CVE-2022-42968 |
| Alpine:v3.24 | gitea | 1.17.3-r0 | ALPINE-CVE-2022-42968 |
| Go | code.gitea.io/gitea | 1.17.3 | GO-2022-1065 |
| Go | github.com/go-gitea/gitea | 1.17.3 | GHSA-w8xw-7crf-h23x |
Affected products (as reported)
Weakness: CWE-88 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H