async-git@1.0.0-alpha.2 vulnerabilities

👾 Retrieve data from current git repository

  • latest version

    1.13.3

  • latest non vulnerable version

  • first published

    6 years ago

  • latest version published

    2 years ago

  • licenses detected

    • >=1.0.0-alpha.2 <1.13.3
  • Direct Vulnerabilities

    Known vulnerabilities in the async-git 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
    • C
    Command Injection

    async-git is a 👾 Retrieve data from current git repository

    Affected versions of this package are vulnerable to Command Injection via shell meta-characters (back-ticks). For example: git.reset('atouch HACKEDb')

    How to fix Command Injection?

    Upgrade async-git to version 1.13.2 or higher.

    <1.13.2
    • H
    Command Injection

    async-git is a 👾 Retrieve data from current git repository

    Affected versions of this package are vulnerable to Command Injection via shell metacharacters, as demonstrated by git.reset and git.tag.

    POC

    git.reset('; touch HACKED #'); // file "HACKED" was created
    git.tag('; touch HACKED #'); // file "HACKED" was created
    

    How to fix Command Injection?

    Upgrade async-git to version 1.13.1 or higher.

    <1.13.1