CVE-2022-42968: gitea Argument Injection
Modified
AliasesGHSA-w8xw-7crf-h23xBIT-gitea-2022-42968GO-2022-1065
Published 16-10-2022Last modified 14-05-2025
Vulnerability summary
CVE-2022-42968 is a critical (CVSS 9.8) Argument Injection vulnerability in gitea. EPSS estimates a 1.40% chance of exploitation in the next 30 days, higher than 72.2% of scored vulnerabilities.
CVSS score
9.8/10
010
Critical · v3.1 (CVE.org)EPSS score
1.40%
0%100%
Low · +0.23 pp in 30 daysKEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded
Timeline
- 16-10-2022PublishedVulnerability first disclosed.
- 14-05-2025Last modifiedVulnerability information updated.
Description
Gitea before 1.17.3 does not sanitize and escape refs in the git backend. Arguments to git commands are mishandled.
CVSS metrics
3 scores · 3 sources · 1 versionCritical 9.8Preferred score · CVE.org (CNA)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HSourcesAll 3 agree
- OSV · GoEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- NVDNIST9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
1.40%
Chance of exploitation in the next 30 days
Percentile
72%
Versus all other CVEs
30-day change
Increase +0.23 pp
From 1.16% on 22-09-2026
22-09-202622-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Code.gitea.io1 product
- gitea< 1.17.3
Gitea1 product
- gitea< 1.17.3
Github.com/go-gitea1 product
- gitea< 1.17.3
3 vendors · 3 products
References
6 links- github.com/go-gitea/giteaPACKAGE