logo

GHSA-5mrr-rgp6-x4gr marsdb

Package

Manager: npm
Name: marsdb
Vulnerable Version: >=0 <=0.6.11

Severity

Level: Critical

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N/E:H/RL:U/RC:C

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

EPSS: N/A pctlN/A

Details

Command Injection in marsdb 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.

Metadata

Created: 2020-09-03T19:39:05Z
Modified: 2020-08-31T18:48:01Z
Source: MANUAL
CWE IDs: ["CWE-77"]
Alternative ID: N/A
Finding: F422
Auto approve: 1