ungit@1.3.2 vulnerabilities

Git made easy

Direct Vulnerabilities

Known vulnerabilities in the ungit package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • H
Remote Code Execution (RCE)

ungit is a version control library.

Affected versions of this package 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.

How to fix Remote Code Execution (RCE)?

Upgrade ungit to version 1.5.20 or higher.

<1.5.20