MongoDB 1.4.7 is a minor version update to the Node.js driver for MongoDB, following 1.4.6. Both versions share a common foundation, providing essential tools for interacting with MongoDB databases from Node.js applications. The core dependencies remain consistent: bson for handling binary JSON, kerberos for authentication, and readable-stream for stream processing. This indicates that the fundamental data handling and authentication mechanisms are unchanged.
The development dependencies, including tools for documentation (dox), templating (ejs), asynchronous control flow (async, step), memory leak detection (gleak), integration testing (integra), HTTP requests (request), markdown processing (markdown), unit testing (nodeunit), argument parsing (optimist), and JavaScript minification (uglify-js), are also identical. This suggests the development workflow and testing practices are consistent between versions.
The primary difference lies in the release date: 1.4.7 was released on June 18, 2014, while 1.4.6 was released on June 12, 2014. While on the surface this seems like a very minor change, it suggests bug fixes, performance improvements, or very incremental features introduced in version 1.4.7, addressing potential issues found in 1.4.6, while keeping the API and dependencies untouched. Developers should consider upgrading to 1.4.7 to benefit from these improvements and ensure they're using the most up-to-date stable version of the driver within the 1.4.x series. Check the release notes or changelog (if available) for detailed information on the specific fixes or enhancements included in this patch.
All the vulnerabilities related to the version 1.4.7 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.