mongo-parse@2.1.0 vulnerabilities

A parser for mongo db queries

Direct Vulnerabilities

Known vulnerabilities in the mongo-parse 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
  • M
Arbitrary Code Injection

mongo-parse is a parser for mongo db queries and projections.

Affected versions of the package are vulnerable to Arbitrary Code Injection due to unsafe use of the eval() function. Node.js provides the eval() function by default, and is used to translate strings into Javascript code. An attacker can craft a malicious payload to inject arbitrary commands.

How to fix Arbitrary Code Injection?

There is no fix version for mongo-parse.

*