Vulnerability in Ungit Project
CVE-2022-25766
The package ungit before 1.5.20 are vulnerable to Remote Code Execution (RCE) via argument injection. The issue occurs when calling the /api/fetch endpoint. User controlled values (remote and ref) are passed to the git fetch command. By injecting some git options it was possible to get arbitrary command execution.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.343 (98.4th percentile), scored .
Moderate probability of exploitation in the next 30 days — watch for active exploitation reports. 98th percentile — 98.4% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.343 · newest: 0.343 · change: 0.000
Affected products
- Ungit Project
- Ungit — versions unspecified
Weakness classification (CWE)
Public proof-of-concept exploits
References
- snyk.io/vuln/SNYK-JS-UNGIT-2414099 (Third Party Advisory, Release Notes)
- github.com/FredrikNoren/ungit/pull/1510 (Exploit, Patch, Third Party Advisory)
- github.com/FredrikNoren/ungit/blob/master/CHANGELOG.md#1520 (Third Party Advisory, Release Notes, Broken Link)
Frequently asked questions
- What is CVE-2022-25766?
- CVE-2022-25766 is a high-severity vulnerability in Ungit Project, classified under Argument Injection. CVSS score: 8.8/10. Published 2022-03-21.
- How severe is CVE-2022-25766?
- High severity. CVSS v3 base score is 8.8 out of 10.
- Is CVE-2022-25766 known to be exploited?
- 4 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.