Skip to content
OpenAdvisories

Vendor

MongoDB

390 known vulnerabilities.

390 results · Feed

  • Medium 6.2

    Heap over-read or silent misparse via 32-bit truncation of JSON length in BSON JSON parser

    A numeric truncation weakness exists in the JSON parsing component of the MongoDB C++ Driver's BSON library. An actor who controls the text that an embedding application hands to the library's public JSON parsing interface, when that text is very large, can c…

  • High 7.1

    MongoDB BI Connector ODBC Driver Memory-Safety Issue When Parsing Oversized LIMIT Values

    An application using the MongoDB BI Connector ODBC Driver may encounter a memory-safety issue when a submitted SQL statement contains an unusually long run of digits following a LIMIT clause. The issue occurs only on connections where the driver's optional pr…

  • High 8.8

    BI Connector ODBC Driver Improper Bounds Checking on Cursor Name Leading to Memory Corruption

    A user able to submit SQL through an application using the MongoDB Connector for BI ODBC driver can supply a positioned-cursor statement whose cursor name exceeds the size of an internal fixed-length buffer. Because the name length is not bounded before the d…

  • High 7.5

    MongoDB Connector for BI Unbounded Authentication Negotiation Leading to Connection Exhaustion

    A network-reachable client that has not yet authenticated can hold a MongoDB Connector for BI authentication session open indefinitely by beginning a SASL-based login exchange and then declining to complete it. Because the negotiation loop had no overall time…

  • High 7.5

    BI Connector Optional Client Certificate Verification Allows Unauthenticated Connections

    When mongosqld is configured with a client certificate authority file, the listener requests a client certificate during the TLS handshake but does not require one, so a client that presents no certificate is still accepted. In deployments that rely on client…

  • High 7.5

    MongoDB Connector for BI Improper Error Handling of Log Write Failures May Cause Loss of SQL Service

    An unauthenticated party able to reach the port of a MongoDB Connector for BI (mongosqld) instance may generate enough routine connection log activity to exhaust the storage backing the configured log path. When a log write or log rotation operation subsequen…

  • High 7.7

    MongoDB Connector for BI Improper Error Handling During Schema Sampling May Cause Loss of SQL Service

    A database user able to create a view in a namespace that MongoDB Connector for BI samples can cause the schema-sampling routine to stop functioning by defining a view whose evaluation reliably fails. The sampling logic classifies the resulting server message…

  • High 8.0

    MongoDB Connector for BI Unescaped Object Names in Generated SHOW CREATE Output

    In MongoDB Connector for BI, MongoDB object names such as collection, field, and index names are placed into the quoted identifiers of the DDL text returned by SHOW CREATE statements without escaping the identifier delimiter. A user with permission to write t…

  • Medium 5.2

    MongoDB Connector for BI Incomplete Escaping of Stored Metadata in Generated SHOW CREATE Output

    In MongoDB Connector for BI, the description text of a collection's JSON schema validator is incorporated into the comment text of the DDL returned by SHOW CREATE statements without complete escaping of backslash characters. A user with permission to modify a…

  • Medium 6.3

    MongoSQL Transition Readiness Tool Improper Output Encoding in Generated HTML Reports

    The MongoSQL Transition Readiness Tool writes query text and user names read from BI Connector log files into its generated HTML report without encoding them for that output context. A user able to issue queries through the BI Connector can influence log cont…

  • Medium 6.3

    MongoSQL Transition Readiness Tool Improper Neutralization of Formula Elements in Generated Reports

    The MongoSQL Transition Readiness Tool writes database and collection names into its generated CSV reports without neutralizing leading characters that spreadsheet applications treat as formulas. A user with write privileges on the cluster can choose a namesp…

  • Medium 4.6

    MongoDB BI Connector Transition Readiness Report Improper HTML Encoding When Processing Database Metadata

    MongoSQL Transition Readiness Tool does not sufficiently encode database metadata before including it in generated HTML. A MongoDB user with write access can introduce crafted metadata that may cause script code to run when another user generates and opens th…

  • Medium 5.6

    KMS master key exposure via unredacted credential serialization in driver settings string

    A weakness in the client-side encryption configuration surface of the MongoDB C# Driver causes sensitive key-management credential material supplied by the application to be reproduced verbatim in the driver's human-readable diagnostic representation of its c…

  • 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 6.5

    Cross-database write redirection via unvalidated dotted database name in bulk write namespaces

    The MongoDB Rust Driver does not neutralize special characters in a caller-supplied target identifier before embedding it in the request it sends to the server. An actor able to influence that identifier in an application using the driver may cause write oper…

  • High 8.1

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

    The MongoDB client library for PHP does not sufficiently sanitize special elements in application-supplied namespace identifiers before using them to construct the target namespace for database operations. An application that incorporates untrusted text into …

  • 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…

  • Medium 4.4

    Cross-tenant database retargeting via dot/NUL injection in namespace strings in libmongocrypt

    A missing input-validation issue in MongoDB libmongocrypt's automatic-encryption context setup allows a caller-supplied database identifier to be accepted without sanitization. The resulting impact is limited to incorrect schema selection, which may lead to l…

  • 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 6.5

    Cross-database write retargeting via unvalidated dotted database name in Client.BulkWrite in the MongoDB Go Driver

    The MongoDB Go Driver's client-level bulk write operation may accept a caller-supplied database name containing a reserved separator character without escaping it before the name is used to build the target namespace for the operation. An application that pas…

  • Medium 4.4

    MongoDB Connector for BI mongodrdl Logs TLS Private-Key Password When Duplicate Options Are Supplied

    In MongoDB Connector for BI, mongodrdl may write a TLS private-key password to standard error when the password is supplied through both the connection URI and the corresponding command-line option. A local user with access to the captured command output and …

  • Medium 5.9

    MongoDB BI Connector Improper Memory Handling During Failed Kerberos Authentication May Cause Process Termination

    An unauthenticated client that can reach a MongoDB Connector for BI deployment configured with Kerberos authentication may cause mongosqld to terminate when a crafted authentication exchange encounters a specific GSSAPI error-handling condition. This can inte…

  • High 7.8

    MongoDB BI Connector ODBC driver may write outside an allocated buffer when the setup dialog opens a data source with oversized path settings

    A data source definition containing an over-length file path setting may cause the MongoDB BI Connector ODBC Driver setup dialog to write outside the bounds of an allocated buffer. The issue stems from an incorrect buffer capacity calculation in the dialog's …

  • High 8.1

    MongoDB BI Connector ODBC Driver Memory-Safety Issue When Handling Stored Procedure Output Parameters

    An application using the MongoDB BI Connector ODBC Driver may experience a memory-safety issue when processing output parameters from a stored procedure. Triggering this issue requires connecting to an untrusted or impersonated database server that returns cr…

  • Medium 6.5

    MongoDB BI Connector ODBC driver may write outside an allocated buffer when retrieving large floating point values as character data

    The MongoDB BI Connector ODBC Driver converts floating point column values into text without checking that the result fits within the destination buffer. When an application reads a sufficiently large floating point value as text, the driver may write beyond …

  • Critical 9.8

    MongoDB BI Connector ODBC driver may write outside an allocated buffer when handling oversized catalog object names

    The MongoDB BI Connector ODBC Driver may write outside the bounds of a fixed-size buffer when an application supplies an unusually long catalog, schema, or object name to a metadata retrieval function. This may result in memory corruption within the calling a…

  • High 8.1

    Crafted database metadata may cause memory corruption in MongoDB BI Connector ODBC Driver

    A missing bounds check when parsing stored procedure parameter metadata in the MongoDB BI Connector ODBC Driver can result in an out-of-bounds write in the client application process. Triggering this issue requires control over the server the driver connects …

  • Medium 4.8

    Insufficient OIDC endpoint validation could invoke unintended local protocol handlers

    MongoDB Schema Manager and MongoDB Atlas SQL ODBC Driver do not validate the scheme of the authorization and token endpoints returned by an OIDC issuer's discovery document. A user induced to connect to an uncontrolled MongoDB deployment using MONGODB-OIDC au…

  • Medium 5.5

    Insufficient redaction of sensitive configuration values in diagnostic output of MongoDB SQL Schema Builder CLI

    MongoDB SQL Schema Builder CLI records its startup configuration to standard output and, when file logging is enabled, to a log file on disk. Certain connection settings were written without redaction, so authentication material supplied by the operator could…

  • Medium 6.5

    Cleartext Storage of Sensitive Information in MongoDB Driver Logging During Client Initialization

    A MongoDB driver component could write sensitive configuration information, including a credential used for outbound network connectivity, to application log output in cleartext during routine client initialization. This occurs automatically as part of normal…

  • High 8.1

    Improper Authorization in MongoDB Queryable Encryption Maintenance Operations Allows Unauthorized Modification of Other Collections

    An issue in MongoDB Server's Queryable Encryption maintenance operations could allow an authenticated user with privileges on one encrypted collection to cause unauthorized modification or destruction of data belonging to a different collection. This is due t…

  • High 7.1

    Use-After-Free in MongoDB Query Execution Engine Leads to Denial of Service and Potential Memory Disclosure

    An issue in MongoDB Server's query execution engine could allow an authenticated user with read and write privileges to cause an internal reference to be used after the underlying memory has been freed, when running certain queries against time-series collect…

  • Medium 6.4

    Missing Authorization in MongoDB Sharded Transaction Commit/Abort Handling Leads to Cross-Shard Data Inconsistency

    An issue in MongoDB Server could allow an authenticated user with direct network access to a shard to improperly commit or abort an in-progress prepared transaction, bypassing the intended transaction coordination process. This could result in cross-shard dat…

  • Medium 5.4

    Improper Authorization in MongoDB Server Allows Unauthorized Actions on System Collections via the validate Command

    An issue in MongoDB Server could allow an authenticated user with a limited database-scoped role to perform an action against protected system collections that should require more specific privileges. This could result in exposure of collection metadata and, …

  • High 8.1

    Improper Authorization in MongoDB Server Allows Unauthorized Actions on System Collections

    An issue in MongoDB Server could allow an authenticated user with a limited database-scoped role to perform an action against protected system collections that their assigned privileges should not permit. This could result in critical system collections being…

  • Medium 6.5

    Improper Input Validation in MongoDB Query Planner Leads to Denial of Service

    An issue in MongoDB Server's query planner could allow an authenticated user with read-level privileges to cause the server process to terminate unexpectedly by submitting a specially formed query against a collection with a text index. This could result in a…

  • High 8.8

    Improper Authentication in MongoDB Intra-Cluster Connections Allows Credential Exposure

    An issue in MongoDB Server's intra-cluster connection setup could allow a party with suitable network access to influence which authentication mechanism is used when one replica set member connects to another. Under certain conditions, this could cause the cl…

  • Medium 6.4

    Improper Authorization in MongoDB profile Command Allows Unauthorized Modification of Server-Wide Diagnostic Settings

    An issue in MongoDB Server could allow an authenticated user with limited, database-scoped privileges to modify diagnostic logging settings that affect the entire server rather than just the intended database. This could allow suppression of diagnostic loggin…