mongodb is vulnerable to Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
65
Medium Risk
The MongoDB Rust driver builds bulk write namespace documents from caller-supplied database and collection names without validating them. When a database name contains a period, the value is embedded into the bulk write namespace and reinterpreted by the server as a different database and collection, so writes can be directed to an unintended database within the same deployment. Code that passes externally influenced names into a Client::bulk_write write model can have its writes redirected across logical boundaries, affecting data integrity. The fix validates database and collection name arguments against . and NUL bytes before serializing the namespace.
You are affected if you are using a version that falls within the vulnerable range and you pass externally influenced database or collection names into a Client::bulk_write write model namespace.
mongodb is vulnerable to Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') in versions 3.0.0 - 3.8.1.
Upgrade the mongodb library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.