org.webjars.npm:simple-git@1.107.0 vulnerabilities

  • latest version

    3.15.0

  • first published

    6 years ago

  • latest version published

    2 years ago

  • licenses detected

  • package manager

Direct Vulnerabilities

Known vulnerabilities in the org.webjars.npm:simple-git 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)

org.webjars.npm:simple-git is an A light weight interface for running git commands in any node.js application.

Affected versions of this package are vulnerable to Remote Code Execution (RCE) via the clone(), pull(), push() and listRemote() methods, due to improper input sanitization. This vulnerability exists due to an incomplete fix of CVE-2022-25912.

How to fix Remote Code Execution (RCE)?

A fix was pushed into the master branch but not yet published.

[0,)
  • H
Remote Code Execution (RCE)

org.webjars.npm:simple-git is an A light weight interface for running git commands in any node.js application.

Affected versions of this package are vulnerable to Remote Code Execution (RCE) when enabling the ext transport protocol, which makes it exploitable via clone() method. This vulnerability exists due to an incomplete fix of CVE-2022-24066.

How to fix Remote Code Execution (RCE)?

Upgrade org.webjars.npm:simple-git to version 3.15.0 or higher.

[,3.15.0)
  • H
Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')

org.webjars.npm:simple-git is an A light weight interface for running git commands in any node.js application.

Affected versions of this package are vulnerable to Improper Neutralization of Argument Delimiters in a Command ('Argument Injection') due to an incomplete fix of CVE-2022-24433 which only patches against the git fetch attack vector. A similar use of the --upload-pack feature of git is also supported for git clone, which the prior fix didn't cover.

How to fix Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')?

Upgrade org.webjars.npm:simple-git to version 3.14.0 or higher.

[,3.14.0)
  • H
Command Injection

org.webjars.npm:simple-git is an A light weight interface for running git commands in any node.js application.

Affected versions of this package are vulnerable to Command Injection via argument injection. When calling the .fetch(remote, branch, handlerFn) function, both the remote and branch parameters are passed to the git fetch subcommand. By injecting some git options it was possible to get arbitrary command execution.

How to fix Command Injection?

Upgrade org.webjars.npm:simple-git to version 3.14.0 or higher.

[,3.14.0)