MongoDB Node.js driver version 1.3.17 offers a subtle yet noteworthy progression from its predecessor, version 1.3.15. Both versions share identical structural dependencies, relying on "bson" 0.2.2 and "kerberos" 0.0.3 for core functionality, with "kerberos" remaining an optional dependency. Similarly, the development dependencies, crucial for testing and building, remain consistent, encompassing tools like "dox", "ejs", "step", "async", "gleak", "integra", "request", "markdown", "nodeunit", "optimist", and "uglify-js." This suggests a focus on stability and incremental improvements rather than sweeping architectural changes.
The core difference lies in the release date. Version 1.3.17 was released on August 10, 2013, approximately a week after version 1.3.15, released on August 2, 2013. The rapid release cycle hints at bug fixes, performance enhancements, or minor feature additions that warranted a quick update. For developers, this indicates that 1.3.17 likely addresses issues discovered in 1.3.15, making it the preferred choice for new projects. Existing projects using 1.3.15 should evaluate the changelog (available in the repository) to determine if the fixes or enhancements justify the update, balancing the benefits against the potential for unforeseen regression issues. While the core API and dependencies remain consistent, the later version inherently benefits from a week of real-world usage and potential bug discovery and resolution. The tarball URLs provide access to the source code for deeper investigation if needed.
All the vulnerabilities related to the version 1.3.17 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.