marsdb@0.2.6 vulnerabilities

MarsDB is a lightweight client-side MongoDB-like database, Promise based, written in ES6

Direct Vulnerabilities

Known vulnerabilities in the marsdb 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
Arbitrary Code Injection

marsdb is a MarsDB is a lightweight client-side database.

Affected versions of this package are vulnerable to Arbitrary Code Injection. In the DocumentMatcher class, selectors on $where clauses are passed to a Function constructor unsanitized. This allows attackers to run arbitrary commands in the system when the function is executed.

How to fix Arbitrary Code Injection?

There is no fixed version for marsdb.