GHSA-5mrr-rgp6-x4gr
critical
Command Injection in marsdb
- Severity
- critical rating by GitHub
- Published
- Last changed
Description
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.
Recommendation
No fix is currently available. Consider using an alternative package until a fix is made available.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| marsdb (npm) | from 0.0.0 | GitHub Advisory Database |
Classification
References
Sources
| Source | Record | Licence |
|---|---|---|
| GitHub Advisory Database | GHSA-5mrr-rgp6-x4gr changed 2020-08-31 | CC-BY-4.0 |