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.345, 98.4th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Ungit Project
- Ungit — versions unspecified
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 4 other repositories (ARPSyndicate/cvemon, ARPSyndicate/cve-scores, dellalibera/dellalibera, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
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)