ungit
Affected
- introduced
0, fixed1.5.20(semver)
Fixed versions
1.5.20
Fix
- Fixed version
1.5.20npm install [email protected]
Advisory
Also known as: CVE-2022-25766, SNYK-JS-UNGIT-2414099
Command Injection in ungit
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.
High Basis: The source's own band: HIGH
0, fixed 1.5.20 (semver)1.5.20
1.5.20npm install [email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0