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 available yet. Followings are affected versions:
- >= 0.0.0
References
Related Issues
- Command Injection Vulnerability in systeminformation - systeminformation - CVE-2020-26274
- Command Injection in dot - Vulnerability
- Command Injection in cocos-utils - Vulnerability
- Saltcorn's Reflected XSS and Command Injection vulnerabilities can be chained for 1-click-RCE - Vulnerability
You might also like:
- Tags:
- npm
- marsdb
Anything's wrong? Let us know
Last updated on January 09, 2023