Skip to content
OpenAdvisories

Vendor

MongoDB

383 known vulnerabilities.

237 results · Clear filters · Feed

  • Medium 5.3

    A memory-management flaw in the server-side JavaScript execution component of MongoDB Server can allow an authenticated…

  • Medium 5.3

    MongoDB Server maintains an in-memory table of per-namespace statistics for operations that carry encrypted-field infor…

  • Medium 6.0

    An issue in MongoDB Server's query processing component allows an authenticated user with read privileges to cause a de…

  • Medium 6.0

    A use-after-free issue exists in the MongoDB server’s classic query engine plan cache. Under certain query conditions, …

  • Medium 6.1

    A use-after-free read issue exists in MongoDB’s SBE (Slot-Based Execution) engine when processing aggregation pipelines…

  • Medium 5.4

    EF Core provider: pipeline-form ExecuteUpdate evaluates a user string setter as a $-field reference

    The MongoDB Entity Framework Core provider does not neutralize special elements in values passed to SetProperty when an ExecuteUpdate call also contains a setter that reads the entity being updated. In that case the update is sent as an aggregation pipeline, …

  • Medium 4.3

    Atlas SQL JDBC Driver <=4.0.0: OIDC discovery endpoints not scheme-validated - attacker-controlled URI dispatched to OS protocol handler

    A URI redirection weakness exists in the authentication component of the Atlas SQL JDBC Driver. During an interactive sign-in flow the driver accepts endpoint addresses supplied by the remote endpoint it is pointed at without validating their scheme, and pass…

  • Medium 6.5

    MongoDB C Driver GridFS gap lets a shared writer recover a protected client's password

    A memory-initialization flaw in the legacy GridFS file handling of the MongoDB C Driver can cause uninitialized process memory to be treated as valid file content and stored on the server. A database user holding ordinary write access to a shared storage area…

  • Medium 5.5

    Rust Driver 3.9.1 exports CSFLE plaintext in `db.query.text` before encrypting the command

    A component of the MongoDB Rust Driver that records diagnostic tracing data can capture command content before automatic client-side field level encryption is applied. In deployments that turn on the optional tracing capability together with automatic in-use …

  • Medium 4.8

    mongofiles may disclose GridFS content to standard output through a stored filename

    MongoDB Database Tools mongofiles uses a database-stored GridFS filename as the output destination for get_id when --local is not specified. A user who can modify the file metadata can set the stored filename to '-', causing a later authorized retrieval to wr…

  • Medium 6.8

    The DB Tools trust certificates issued by recoverable eMudhra intermediate CAs

    The DB Tools rely on the TLS implementation in Golang’s standard library, which generally uses the system CA store. However, the crypto/x509 package also has its own internal denylist of known-bad CA certificates. Golang 1.27.3 adds the eMudhra certificates t…

  • Medium 6.5

    NoSQL injection via mismatched BSON size prefix in raw document splice to the wire protocol

    A BSON encoding component of the MongoDB Java Driver does not verify that an externally supplied raw document's self-declared length agrees with the extent of the byte range it is given before that range is copied into an outgoing database command. An applica…

  • Medium 6.8

    MongoDB Shell (mongosh) bundled with Node.js trusts certificates issued by recoverable eMudhra intermediate CAs

    The MongoDB Shell (mongosh) relies on Node.js as a third-party runtime that carries its own TLS root certificate store. This certificate store has the recoverable eMudhra intermediate CA certificates. This issue impacts MongoDB Shell (mongosh) versions prior …

  • Medium 6.8

    MongoDB Compass trusts certificates issued by recoverable eMudhra intermediate CAs

    MongoDB Compass relies on Electron, a third-party runtime that carries its own TLS root certificate store. This root certificate store has the recoverable eMudhra intermediate CA certificates. Issue is resolved by updating to Compass 1.53.1, which includes El…

  • Medium 5.9

    KMS request injection via unsanitized key vault and provider values in libmongocrypt

    libmongocrypt builds requests to external key management services (AWS, Azure and GCP) by inserting values from key vault documents, KMS provider configuration and KMS responses into request lines, headers and signed request bodies without validating or encod…

  • Medium 6.5

    BSON output corruption via out-of-range binary subtype bypassing UUID and OldBinary guards

    A numeric-type conversion flaw in the BSON handling library of the MongoDB C# Driver allows an out-of-range binary subtype value supplied through untrusted textual input to bypass the library's binary-element integrity checks. When such a value is later encod…

  • Medium 6.5

    Silent client-side encryption bypass via unescaped field-name regex in CSFLE schema builder

    A client-side encryption schema construction component in the MongoDB C# Driver places caller-supplied field identifiers into a position that is interpreted as a pattern expression, without normalizing or validating them. As a result, an application that desi…

  • Medium 6.5

    Update operator injection via single-element list rewriting in the update builder

    A data-query-logic neutralization weakness in the update-statement construction component of the MongoDB C# Driver can cause application-supplied values to be interpreted as query/update logic rather than as literal data. An application user who can influence…

  • Medium 4.0

    Cross-document data leak via malformed BSON array parsing in reused thread buffer

    A memory-handling weakness in the BSON deserialization component of the MongoDB C# Driver may cause data left over from previously processed content to be returned when specially crafted serialized input is parsed. An unauthenticated party able to supply seri…

  • Medium 5.9

    Plaintext exposure of encrypted fields via ANSI code-page corruption of database name

    A flaw in the client-side encryption support of the MongoDB .NET/C# driver can cause data designated for client-side field-level encryption to be written without encryption. Under certain platform text-encoding configurations, an internal name conversion lose…

  • Medium 6.8

    Authentication bypass via issuer-and-serial-only certificate equality in shared cluster cache

    The MongoDB C# Driver compares TLS client certificates by issuer and serial number only when deciding whether two clients can share cached connections. In an application that creates clients from certificates supplied by different users, a user who provides a…

  • Medium 4.3

    NoSQL operator injection via unvalidated replacement document in findOneAndReplace

    The MongoDB C# Driver does not reject replacement documents whose top-level field names begin with a dollar sign in FindOneAndReplace, unlike other replace operations. An application that builds such a document from user-supplied field names can have the serv…

  • Medium 6.5

    NoSQL command injection via mismatched raw BSON length prefix written verbatim to the wire

    A data-validation flaw exists in the BSON handling and binary serialization path of the MongoDB C# Driver. When an application constructs a raw or lazy BSON document object from externally supplied binary data, the driver does not verify that the size quantit…

  • Medium 5.2

    Heap overflow via 32-bit length wrap of the URI username in Windows Kerberos auth message wrapping

    A 32-bit integer wraparound in the MongoDB C Driver's Windows-only Kerberos/SSPI authentication code can cause an undersized heap buffer to be allocated when an excessively long credential value is supplied in the client's connection configuration. A party ab…

  • Medium 5.9

    Memory-exhaustion denial of service via unbounded symbol interning during BSON/JSON deserialization

    The MongoDB C# Driver's BSON library contains an uncontrolled resource consumption weakness in its deserialization handling of one BSON value type. An application that deserializes untrusted content with the library retains data derived from that content for …

  • Medium 5.4

    Duplicate geometry fields via unvalidated GeoJSON extra members

    The MongoDB C# Driver writes GeoJSON extra members without checking whether their names collide with reserved GeoJSON members such as type and coordinates. An application that places user-supplied field names into these extra members can store documents with …

  • Medium 6.5

    Incorrect authorization in MongoDB Server router for bulk writes to system namespaces

    A security issue was discovered in MongoDB mongos (the sharded cluster router) where an authenticated user with readWrite privileges could crash the mongos process by crafting a specially formed aggregation pipeline. The issue leverages an internal aggregatio…

  • Medium 6.5

    Collection validators using collation-accepting expressions can crash MongoDB Server on insert

    MongoDB Server's collection validation feature may not properly handle certain expressions stored in a validator. In some cases, this can cause the server process to stop running when a document is later inserted. The behavior can occur for authenticated user…

  • Medium 5.4

    Fixed values in MongoDB Server $bucket stage may be misread as field references

    An issue in MongoDB Server's aggregation framework can cause certain constant values to be handled incorrectly during internal query rewriting. Under certain conditions, an authenticated user with read access may receive field values in aggregation output tha…

  • Medium 6.5

    Missing Authorization Check on Internal Aggregation Stage in MongoDB Server mongos Leads to Denial of Service

    A security issue was discovered in MongoDB mongos (the sharded cluster router) where an authenticated user with readWrite privileges could crash the mongos process by crafting a specially formed aggregation pipeline. The issue leverages an internal aggregatio…

  • Medium 6.5

    MongoDB Server may disclose process memory via a crafted `$_internalApplyOplogUpdate` aggregation pipeline

    Use of freed memory in the aggregation feature of MongoDB Server can cause the server to read data from a memory area after it has been released. When an internal aggregation stage is combined with a batch size of 0, the server may read from memory that is no…

  • Medium 5.3

    Ops Manager Sensitive MFA Enrollment Information Exposure in User Listings

    An authenticated Ops Manager organization member can retrieve another member's pending authenticator enrollment seed through user-listing endpoints while that member's enrollment is unconfirmed. This results in disclosure of secret authentication material to …

  • Medium 5.3

    Ops Manager Uncontrolled Resource Consumption in Monitoring Endpoints

    An unauthenticated user with network access to the Ops Manager web port can repeatedly request monitoring endpoints that perform costly work without rate limiting. This can temporarily slow other traffic served by the same process while requests continue.

  • Medium 5.1

    Application denial of service via out-of-bounds read in BSON Regex decoding in MongoDB Python Driver

    The MongoDB Python Driver's binary accelerator can read outside a buffer when an application decodes malformed BSON containing a truncated regular-expression element without a trailing NUL byte. An actor who can supply BSON to the documented decode or decode_…

  • Medium 4.8

    Application denial of service and data truncation via unchecked BSON append failures in MongoDB PHP Driver

    The BSON encoder in the MongoDB PHP Driver does not check some return values after a document exceeds libbson's size limit. This can leave the encoder in an invalid state. An unauthenticated actor who can cause an affected application to encode an unusually l…

  • Medium 5.9

    Application denial of service via missing BSON array length validation in MongoDB Go Driver

    Improper validation of a BSON array length in the MongoDB Go Driver can cause an out-of-bounds index and runtime panic when an application calls bson.RawArray.Validate or bsoncore.Array.Validate on a malformed four-byte array. An unauthenticated actor who can…

  • Medium 5.9

    Application denial of service via integer overflow in BSON value-length validation in MongoDB Go Driver

    An integer overflow in BSON value-length handling in the MongoDB Go Driver can cause a runtime panic when an application validates or accesses a malformed BSON document. An unauthenticated actor who can supply BSON bytes to an affected application may termina…

  • Medium 4.3

    Unrecognized payload acceptance in explicit decryption in MongoDB libmongocrypt

    The explicit decryption component of MongoDB libmongocrypt can return an unrecognized encrypted payload unchanged instead of returning a decryption error. An actor who can modify stored encrypted fields, such as a database writer, server, or network intermedi…

  • Medium 6.5

    Application denial of service via malformed KMS endpoint in MongoDB libmongocrypt

    An integer underflow in the KMS endpoint-parsing logic of MongoDB libmongocrypt can cause an allocation failure that terminates the application process. This can occur when an authenticated user modifies a key document in the key vault collection, or when an …

  • Medium 5.9

    Query and rename target confusion via embedded NUL truncation in MongoDB C++ Driver

    The MongoDB C++ Driver discards content after an embedded NUL byte in certain field and collection names accepted by the collection API. This can cause the driver and the calling application to interpret the same name differently. An authenticated actor who c…