GHSA-8whr-v3gm-w8h9
HIGH 8.1CVSS 3.1withdrawn / rejectedDuplicate Advisory: Command Injection in node-rules
Duplicate Advisory
This advisory has been withdrawn because it is a duplicate of GHSA-f78f-353m-cf4j. This link is maintained to preserve external references.
Original Description
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.
Recommendation
Upgrade to version 5.0.0 or later.
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | node-rules | < 5.0.0 | 5.0.0 |
References
- https://github.com/mithunsatheesh/node-rules/issues/84 · WEB
- https://github.com/mithunsatheesh/node-rules/commit/100862223904bb6478fcc33b701c7dee11f7b832 · WEB
- https://github.com/mithunsatheesh/node-rules · PACKAGE
- https://snyk.io/vuln/SNYK-JS-NODERULES-560426 · WEB
History
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 3 Sep 2020)