mongosh@1.1.1 vulnerabilities

MongoDB Shell CLI REPL

  • latest version

    2.4.0

  • latest non vulnerable version

  • first published

    4 years ago

  • latest version published

    11 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the mongosh 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
    Untrusted Search Path

    mongosh is a MongoDB Shell CLI REPL

    Affected versions of this package are vulnerable to Untrusted Search Path due to the handling of crafted files stored in specific directories. An attacker can execute unauthorized actions with elevated privileges by placing a specially crafted file in the C:\node_modules\ directory.

    Note:

    This is only exploitable if the user has permissions to access and write to system directories.

    How to fix Untrusted Search Path?

    Upgrade mongosh to version 2.3.0 or higher.

    <2.3.0