simple-git@3.32.0 vulnerabilities

Simple GIT interface for node.js

  • latest version

    3.33.0

  • latest non vulnerable version

  • first published

    12 years ago

  • latest version published

    5 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the simple-git 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
    • C
    Improper Handling of Case Sensitivity

    simple-git is a light weight interface for running git commands in any node.js application.

    Affected versions of this package are vulnerable to Improper Handling of Case Sensitivity in the preventProtocolOverride function, which fails to properly validate case-insensitive configuration keys. An attacker can execute arbitrary OS commands by supplying a malicious -c PROTOCOL.ALLOW=always argument and a crafted repository URL, leading to command execution on the host system.

    Note:

    This is caused by an incomplete fix to CVE-2022-25912.

    How to fix Improper Handling of Case Sensitivity?

    Upgrade simple-git to version 3.32.3 or higher.

    >=3.15.0 <3.32.3