mongodb-query-parser@1.6.0-rc.0 vulnerabilities

Parse MongoDB queries

Direct Vulnerabilities

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

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable 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