Skip to content
OpenAdvisories

Package · Ubuntu

php-mongodb

10 known vulnerabilities.

10 results · Feed

  • High 7.5

    Unbounded Recursion in phongo_bson_visit_document/visit_array:

    An uncontrolled recursion weakness in the BSON decoding logic of the MongoDB PHP driver may allow an unauthenticated party who can supply crafted binary document data to the decoder to exhaust the process stack. This may cause the PHP process using the driver…

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

  • Low 3.6

    Heap buffer overflow via 32-bit string-length truncation in MongoDB PHP Driver

    The BSON encoder in the MongoDB PHP Driver converts a string length to a 32-bit value without validation. When an affected application encodes a string near 4 GiB, the allocation size can wrap while the copy operation uses the original length. The resulting h…

  • Medium 5.3

    Heap out-of-bounds read via corrupt nested BSON in field path error message

    An out-of-bounds read in the BSON decoding component of the MongoDB PHP driver may allow an unauthenticated party who supplies specially formed input to have a small amount of adjacent process memory copied into an error message that is returned to applicatio…

  • 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.9

    PHP Stack Exhaustion

    Stack exhaustion vulnerability in the MongoDB PHP driver can cause application crashes when processing deeply nested BSON documents in unusual circumstances when the source of these BSON documents is not MongoDB Server.

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

  • High 7.3

    Accessing Untrusted Directory May Allow Local Privilege Escalation

    Incorrect validation of files loaded from a local untrusted directory may allow local privilege escalation if the underlying operating systems is Windows. This may result in the application executing arbitrary behaviour determined by the contents of untrusted…

  • Medium 4.2

    Some MongoDB Drivers may publish events containing authentication-related data to a command listener configured by an application

    Some MongoDB Drivers may erroneously publish events containing authentication-related data to a command listener configured by an application. The published events may contain security-sensitive data when specific authentication-related commands are executed.…

  • Medium 5.9

    Buffer Overflow and Integer Overflow in yajl-ruby

    yajl-ruby is a C binding to the YAJL JSON parsing and generation library. The 1.x branch and the 2.x branch of `yajl` contain an integer overflow which leads to subsequent heap memory corruption when dealing with large (~2GB) inputs. The reallocation logic at…