@mongodb-js/connection-form@0.0.0-next-eaa93afedfed86ac12b09b6225ea4ffc2fff8c4a

A form for specifying information needed to connect to a MongoDB instance

  • latest version

    1.85.0

  • latest non vulnerable version

  • first published

    4 years ago

  • latest version published

    1 months ago

  • Direct Vulnerabilities

    Known vulnerabilities in the @mongodb-js/connection-form 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

    @mongodb-js/connection-form is an A form for specifying information needed to connect to a MongoDB instance

    Affected versions of this package are vulnerable to Command Injection via the browser open command parameter in the OIDC authentication flow. An attacker can execute arbitrary shell commands by importing a crafted connection configuration.

    How to fix Command Injection?

    Upgrade @mongodb-js/connection-form to version 1.84.0 or higher.

    <1.84.0
    • M
    SQL Injection

    @mongodb-js/connection-form is an A form for specifying information needed to connect to a MongoDB instance

    Affected versions of this package are vulnerable to SQL Injection due to insufficient sandboxing settings for the ejson shell parser. An attacker can execute arbitrary code by injecting malicious inputs into the ejson shell parser.

    How to fix SQL Injection?

    Upgrade @mongodb-js/connection-form to version 1.20.1 or higher.

    <1.20.1