MongoDB version 2.0.43 is a minor update to the 2.0 series of the legacy driver emulation layer, building on top of mongodb-core. This package offers crucial functionalities for interacting with MongoDB databases from Node.js applications. The most significant change between versions 2.0.42 and 2.0.43 resides in its dependency on mongodb-core. Version 2.0.43 upgrades its core dependency to 1.2.12 from 1.2.10 in the prior version. While seemingly small, this updated mongodb-core dependency likely includes bug fixes, performance improvements, and potentially new features within the underlying MongoDB interaction layer.
For developers, this means a potentially smoother, more reliable integration with MongoDB servers, benefitting from the cumulative improvements within mongodb-core. Both versions maintain the same dependencies for es6-promise and readable-stream, ensuring continued compatibility and familiarity. The development dependencies also remain unchanged, signifying a focus on stability and refinement rather than a complete overhaul of the development environment. Developers leveraging MongoDB in their Node.js projects should consider upgrading to 2.0.43 to take advantage of the improved core layer, especially if encountering issues or seeking performance enhancements within the driver's fundamental operations. Published approximately a month apart, these versions highlight iterative improvements during this time frame.
All the vulnerabilities related to the version 2.0.43 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.