ungit@0.1.6 vulnerabilities

Git made easy

  • latest version

    1.5.28

  • latest non vulnerable version

  • first published

    11 years ago

  • latest version published

    2 months ago

  • licenses detected

  • Direct Vulnerabilities

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

    How to fix?

    Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

    Fix for free
    VulnerabilityVulnerable 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
    • M
    Command Injection

    Due to the use of child_process.exec when executing git commands, ungit allows for commands to be injection from user input fields that end up in an executed git command.

    Source: Node Security Project

    How to fix Command Injection?

    Update to the version >=0.9.0

    <=0.8.4