MongoDB 4.15.0 is a minor release, building upon the solid foundation of version 4.14.0. The official MongoDB Node.js driver receives a subtle core dependency update: bson is bumped from 4.7.0 to 4.7.2. Developers should review bson changelog for the detailed changes. The update includes bug fixes and performance improvements. Both versions continue to offer a comprehensive suite of features for interacting with MongoDB databases. They share identical development dependencies, indicating no changes to the build or testing infrastructure. Using the latest 4.15.0 is generally recommended, as it incorporates the latest improvements. The release date of the newest version is April 4, 2023 and the previous version was released on February 7, 2023. Both versions maintain the same Apache-2.0 license. Developers leveraging features from saslprep or @aws-sdk/credential-providers should note these are listed as optional dependencies in both versions. This version upgrade exemplifies the continuous refinement and optimization efforts by the MongoDB team, enhancing the stability and performance of the driver for Node.js applications. The unpacked size differs slightly, indicating only minor changes.
All the vulnerabilities related to the version 4.15.0 of the package
MongoDB Driver may publish events containing authentication-related data
Some MongoDB Drivers may erroneously publish events containing authentication-related data to a command listener configured by an application. The published events may contain security-sensitive data when specific authentication-related commands are executed.
Without due care, an application may inadvertently expose this sensitive information, e.g., by writing it to a log file. This issue only arises if an application enables the command listener feature (this is not enabled by default).
This issue affects the MongoDB C Driver 1.0.0 prior to 1.17.7, MongoDB PHP Driver 1.0.0 prior to 1.9.2, MongoDB Swift Driver 1.0.0 prior to 1.1.1, MongoDB Node.js Driver 3.6 prior to 3.6.10, MongoDB Node.js Driver 4.0 prior to 4.17.0 and MongoDB Node.js Driver 5.0 prior to 5.8.0. This issue also affects users of the MongoDB C++ Driver dependent on the C driver 1.0.0 prior to 1.17.7 (C++ driver prior to 3.7.0).