node-rules including 3.0.0 and prior to 5.0.0 allows injection of arbitrary commands. The argument rules of function “fromJSON()” can be controlled by users without any sanitization.
[
{
"product": "node-rules",
"vendor": "n/a",
"versions": [
{
"status": "affected",
"version": "All versions including 3.0.0 and prior to 5.0.0"
}
]
}
]