9.8

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.

Overall risk
70/100
0100
High · default modelHow is this calculated?
CVSS score
9.8/10
010
Critical · v3.1 (CVE.org)
EPSS score
1.40%
0%100%
Low · +0.23 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 16-10-2022
    PublishedVulnerability first disclosed.
  2. 14-05-2025
    Last 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 version

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 catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Code.gitea.io1 product
  • gitea< 1.17.3
Gitea1 product
Github.com/go-gitea1 product
  • gitea< 1.17.3

3 vendors · 3 products

References

6 links