All versions of marsdb are vulnerable to Command 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.
No fix is currently available. Consider using an alternative package until a fix is made available.
{
"cwe_ids": [
"CWE-77"
],
"github_reviewed_at": "2020-08-31T18:48:01Z",
"github_reviewed": true,
"severity": "CRITICAL",
"nvd_published_at": null
}