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.
{
"nvd_published_at": "2020-04-27T22:15:00Z",
"github_reviewed_at": "2021-05-25T20:34:33Z",
"cwe_ids": [
"CWE-94"
],
"severity": "CRITICAL",
"github_reviewed": true
}