mongodb-query-parser@1.4.2 vulnerabilities

Parse MongoDB queries

  • latest version

    4.2.6

  • latest non vulnerable version

  • first published

    7 years ago

  • latest version published

    2 months ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the mongodb-query-parser package. This does not include vulnerabilities belonging to this package’s dependencies.

    How to fix?

    Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

    Fix for free
    VulnerabilityVulnerable Version
    • C
    Remote Code Execution (RCE)

    mongodb-query-parser is a library for safe parsing and validation for MongoDB queries.

    Affected versions of this package are vulnerable to Remote Code Execution (RCE). Does not sanitize queries from function declarations, ternary and comma syntax.

    How to fix Remote Code Execution (RCE)?

    Upgrade mongodb-query-parser to version 2.0.0 or higher.

    <2.0.0