MongoDB version 1.4.29 represents a minor update over the previous stable version, 1.4.28, in the popular Node.js driver for MongoDB. Both versions offer a comprehensive suite of tools for interacting with MongoDB databases from Node.js applications. Key functionalities include robust connection management, a powerful query API, and support for various MongoDB features like aggregation pipelines, indexing, and geospatial queries. Developers can leverage these drivers to build high-performance, scalable applications that rely on MongoDB's flexible document-oriented data storage.
The most notable changes between the versions are in the dependency declarations. Version 1.4.29 upgrades the kerberos dependency from version 0.0.7 to 0.0.8, which likely addresses security vulnerabilities or bug fixes within the Kerberos authentication mechanism, crucial for applications requiring secure database access. Furthermore, the mongodb-core dependency, the low-level engine, is updated substantially from 1.1.7 to 1.1.9. This also hints towards important underlying improvements or bug fixes in the core database interaction logic. Developers should be aware of this update to improve overall system reliability and potentially gain performance benefits. Choosing version 1.4.29 ensures a more secure foundation. With the relatively small version bump, most applications that are already built on the 1.4.28 version can be upgraded seamlessly.
All the vulnerabilities related to the version 1.4.29 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.