MongoDB's node.js driver saw a minor update between versions 1.4.22 and 1.4.23, offering subtle yet potentially important changes for developers. Version 1.4.23, released on December 5, 2014, builds upon the previous stable version (1.4.22, released November 20, 2014) with key dependency updates. Most notably, the "kerberos" dependency was bumped from version 0.0.4 to 0.0.6, suggesting potential improvements or bug fixes related to authentication using Kerberos. Developers leveraging Kerberos authentication should investigate this update for relevant changes. Additionally, version 1.4.23 introduces a new "mongodb-core" devDependency at version 1.1.3 plus updates to rimraf and semver.
While the core API likely remains largely consistent between the two versions, the updated dependencies can impact stability, performance, or security. Developers should review the changelogs for "kerberos" and "mongodb-core" to understand the specific implications of these updates. Consider testing the new version in a non-production environment before deploying to ensure compatibility and avoid unexpected issues. These updates are primarily of interest to developers seeking the latest bug fixes, performance enhancements, or security patches within the MongoDB Node.js driver ecosystem, especially if they rely on Kerberos authentication or are involved in the driver's development and testing processes.
All the vulnerabilities related to the version 1.4.23 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.