This advisory has been withdrawn because it is a duplicate of GHSA-f78f-353m-cf4j. This link is maintained to preserve external references.
Versions of node-rules prior to 5.0.0 are vulnerable to Command Injection. The package fails to sanitize input rules and passes it directly to an eval call when using the fromJSON function. This may allow attackers to execute arbitrary code in the system if the rules are user-controlled.
Upgrade to version 5.0.0 or later.
{
"nvd_published_at": null,
"cwe_ids": [
"CWE-78"
],
"github_reviewed_at": "2020-08-31T19:01:30Z",
"severity": "HIGH",
"github_reviewed": true
}