Skip to content
OpenAdvisories

Product · MongoDB

C Driver

48 known vulnerabilities.

48 results · Feed

  • High 7.1

    Connection-option injection via unescaped settings in the canonical MongoDB URL builder

    Improper neutralization of delimiters in connection-URL construction allows connection-option injection in the MongoDB C# Driver. When an application passes untrusted text into the driver's connection-URL builder and round-trips the builder back into a client…

  • Medium 5.4

    NoSQL injection via array replacement bypassing update shape validation in driver write path

    A MongoDB C# driver document-replacement code path omits the element-name/shape validation that the equivalent write paths apply, so a value supplied as a replacement is forwarded to the server without neutralization of query-language special elements. An app…

  • Medium 6.5

    NoSQL injection via unquoted constant GroupBy keys in LINQ pipeline translation

    A NoSQL/expression injection weakness exists in the LINQ-to-aggregation query translation layer of the MongoDB C# Driver, in both aggregation expression and query filter translation. When application-supplied values are embedded in certain query constructs, s…

  • Medium 5.4

    Cross-tenant database retargeting via dot/NUL injection in namespace strings in the C Driver

    A weakness in the MongoDB C Driver allows special elements in caller-supplied database and collection name components to pass without sanitization when the driver composes the target namespace for an operation. An application that incorporates untrusted input…

  • High 8.1

    Cross-tenant database retargeting via dot/NUL injection in namespace strings in the C++ Driver

    A weakness in the MongoDB C++ Driver's handling of caller-supplied namespace identifiers allows special characters embedded in those identifiers. An application that builds a namespace identifier from untrusted input without validating it may therefore have i…

  • Medium 5.9

    Heap memory out of bounds read and crash in C Driver legacy GridFS file reader

    The MongoDB C Driver's legacy GridFS API accepts malformed file metadata from the database without adequate validation. Crafted documents in a GridFS collection may cause any application that reads those files via the legacy API to either crash (via a divisio…

  • Medium 4.3

    bson_validate may skip validation when processing certain inputs

    The bson_validate function may return early on specific inputs and incorrectly report success. This behavior could result in skipping validation for BSON data, allowing malformed or invalid UTF-8 sequences to bypass validation and be processed incorrectly. Th…

  • Medium 6.8

    Bulk write with options may read invalid memory

    A mongoc_bulk_operation_t may read invalid memory if large options are passed.