mongodb@6.9.0-dev.20241021.sha.30c61f2a

The official MongoDB driver for Node.js

  • latest version

    7.9.1

  • latest non vulnerable version

  • first published

    15 years ago

  • latest version published

    4 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the mongodb 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
    • M
    Improper Restriction of Communication Channel to Intended Endpoints

    mongodb is an official MongoDB driver for Node.js.

    Affected versions of this package are vulnerable to Improper Restriction of Communication Channel to Intended Endpoints via OIDC ENVIRONMENT and callback confusion in MongoCredentials validation, where specifying both an ENVIRONMENT value and an OIDC_CALLBACK or OIDC_HUMAN_CALLBACK bypasses the ALLOWED_HOSTS restriction. A bearer token produced by the application's own login callback can therefore be transmitted to a host outside the configured set of permitted hosts, resulting in unintended disclosure of that credential.

    How to fix Improper Restriction of Communication Channel to Intended Endpoints?

    Upgrade mongodb to version 7.9.0 or higher.

    >=6.7.0 <7.9.0