Description
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.
Remediation
References
https://github.com/mithunsatheesh/node-rules/commit/100862223904bb6478fcc33b701c7dee11f7b832
https://github.com/mithunsatheesh/node-rules/commit/100862223904bb6478fcc33b701c7dee11f7b832%2C
https://snyk.io/vuln/SNYK-JS-NODERULES-560426
Related Vulnerabilities
CVE-2022-35942 Vulnerability in npm package loopback-connector-postgresql
CVE-2018-3778 Vulnerability in npm package aedes
CVE-2011-2526 Vulnerability in maven package org.apache.tomcat:coyote
CVE-2023-40313 Vulnerability in maven package org.opennms:opennms-base-assembly
CVE-2023-25158 Vulnerability in maven package org.geotools.jdbc:gt-jdbc-mysql