MongoDB Node.js driver version 1.3.22 represents a minor update over the previous stable release, 1.3.21. While the core functionality remains largely the same, developers should note that the primary difference lies within the bson dependency, upgraded from version 0.2.3 to 0.2.4. This change likely incorporates bug fixes and potentially performance improvements related to the Binary JSON serialization format, crucial for interacting with MongoDB databases. Both versions share identical development dependencies like dox, ejs, step, async, gleak, integra, request, markdown, nodeunit, optimist, and uglify-js, suggesting a consistent testing and development environment across these releases. Developers relying on the kerberos package can rest assured that its version remains unchanged at 0.0.3 and it is still an optional dependency.
For those unfamiliar with the MongoDB Node.js driver, it provides a robust and efficient way to connect to and interact with MongoDB databases from Node.js applications. It encompasses essential features for querying, updating, and managing data within MongoDB. The driver's architecture is designed for high performance and scalability, making it suitable for a wide range of applications, from small projects to large-scale enterprise systems. The version 1.3.22 was released just a couple of hours after after version 1.3.21.
All the vulnerabilities related to the version 1.3.22 of the package
Denial of Service in mongodb
Versions of mongodb
prior to 3.1.13 are vulnerable to Denial of Service. The package fails to properly catch an exception when a collection name is invalid and the DB does not exist, crashing the application.
Upgrade to version 3.1.13 or later.
Deserialization of Untrusted Data in bson
Incorrect parsing of certain JSON input may result in js-bson not correctly serializing BSON. This may cause unexpected application behaviour including data disclosure.
Deserialization of Untrusted Data in bson
All versions of bson before 1.1.4 are vulnerable to Deserialization of Untrusted Data. The package will ignore an unknown value for an object's _bsontype, leading to cases where an object is serialized as a document rather than the intended BSON type.
DLL Injection in kerberos
Version of kerberos
prior to 1.0.0 are vulnerable to DLL Injection. The package loads DLLs without specifying a full path. This may allow attackers to create a file with the same name in a folder that precedes the intended file in the DLL path search. Doing so would allow attackers to execute arbitrary code in the machine.
Upgrade to version 1.0.0 or later.