degit@3.3.0

Straightforward project scaffolding

  • latest version

    3.4.7

  • latest non vulnerable version

  • first published

    8 years ago

  • latest version published

    4 days ago

  • licenses detected

  • Direct Vulnerabilities

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

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • H
    Command Injection

    degit is a Straightforward project scaffolding

    Affected versions of this package are vulnerable to Command Injection due to improper sanitisation of user input for git shell commands directly invoked with exec() method by _cloneWithGit() and fetchRefs() functions. An attacker can execute arbitrary operating system commands as the process user by supplying a specially crafted git repository name.

    How to fix Command Injection?

    Upgrade degit to version 2.8.6, 3.3.1 or higher.

    <2.8.6>=3.0.0 <3.3.1