mongodb.mongo-c-driver is vulnerable to Resource Injection
54
Medium Risk
The MongoDB C Driver assembles database and collection namespace strings from caller-supplied names across. Names containing embedded NUL bytes or dot characters are not rejected, so such input can be truncated or re-parsed and resolve to a different namespace than intended. When untrusted input is incorporated into database or collection names, operations can be silently retargeted to an unintended database or collection, enabling cross-tenant access to data. The fix adds package-owned validation that rejects dots and NUL bytes in database and collection names across the affected APIs.
You are affected if you are using a version that falls within the vulnerable range and your application incorporates untrusted input into database or collection names.
mongodb.mongo-c-driver is vulnerable to Resource Injection in versions 0.0.1 - 2.5.0.
Upgrade the mongodb.mongo-c-driver 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.