MongoDB version 2.0.46 represents a minor update over its predecessor, version 2.0.45, focusing primarily on internal dependency upgrades rather than introducing significant new features or API changes for developers. Both versions serve as a legacy driver emulation layer built upon mongodb-core, offering a familiar interface for interacting with MongoDB databases. Developers already using 2.0.45 should find the migration to 2.0.46 straightforward and minimally disruptive.
The key difference lies in the underlying mongodb-core dependency, which advances from version 1.2.14 in 2.0.45 to 1.2.19 in 2.0.46. This update likely includes bug fixes, performance improvements, and potentially support for newer MongoDB server features at the core level. While these changes might not be immediately apparent in day-to-day usage, they contribute to the overall stability and reliability of the driver. Another notable difference is the mongodb-version-manager dependency, upgraded from version 0.7.1 to 0.8.8. This tool assists in managing different MongoDB server versions for testing and development, offering potentially enhanced capabilities for developers involved in complex deployment scenarios. Developers should consult the mongodb-core changelog and mongodb-version-manager release notes for detailed information on the specific changes included in these dependency upgrades.
All the vulnerabilities related to the version 2.0.46 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.