{"id":"GHSA-5mrr-rgp6-x4gr","aliases":[],"url":"https://o3.security/vulnerability/GHSA-5mrr-rgp6-x4gr","summary":"Command Injection in marsdb","details":"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.\n\n\n## Recommendation\n\nNo fix is currently available. Consider using an alternative package until a fix is made available.","published":"2020-09-03T19:39:05Z","modified":"2020-08-31T18:48:01Z","cvss":null,"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[{"ecosystem":"npm","name":"marsdb","fixedVersion":null}],"fix":null,"references":[{"type":"WEB","url":"https://github.com/bkimminich/juice-shop/issues/1173"},{"type":"WEB","url":"https://www.npmjs.com/advisories/1122"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2020-08-31T18:48:01Z"}}