MongoDB v2.0.45 and v2.0.44 are closely related versions of the legacy MongoDB Node.js driver, offering a backward-compatible emulation layer built upon the mongodb-core driver. Both versions maintain identical core dependencies, relying on es6-promise, mongodb-core (specifically 1.2.14), and readable-stream for fundamental functionality. Similarly, their development dependencies are mirrored, including tools like co, bson, gleak, jsdoc, rimraf, semver, integra, bluebird, optimist, mongodb-tools, and mongodb-version-manager, indicating a consistent development and testing environment.
The primary distinction between these versions lies in their release dates, with v2.0.45 released on September 30, 2015, and v2.0.44 on September 28, 2015. This suggests that v2.0.45 likely incorporates minor bug fixes, performance enhancements, or other small refinements addressed within those two days.
For developers, the implication is that upgrading from v2.0.44 to v2.0.45 should be a seamless experience. Since the core dependencies and development tools remain the same, no breaking changes are expected. The newer version likely provides increased stability or performance improvements. Given the short time between releases, the changes are probably incremental, so developers should refer to the changelog for precise details on enhancements or bug fixes. Regardless of the relatively small update, developers should prioritize using the latest stable release within their version constraints for optimal reliability.
All the vulnerabilities related to the version 2.0.45 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.