VULNERABILITY INTELLIGENCE
CVE-2022-25766
CVSS score8.8 HIGH
EPSS probability34.54%
CISA KEVNot currently listed
Published2022-03-21
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Description
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.
Weakness classification
- CWE-88: Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')
Primary references
- report@snyk.io — Broken Link, Release Notes, Third Party Advisory
- report@snyk.io — Exploit, Patch, Third Party Advisory
- report@snyk.io — Release Notes, Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Broken Link, Release Notes, Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Exploit, Patch, Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Release Notes, Third Party Advisory