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-35916 Vulnerability in npm package @openzeppelin/contracts
CVE-2021-26707 Vulnerability in maven package org.webjars.npm:merge-deep
CVE-2020-13942 Vulnerability in maven package org.apache.unomi:unomi-services
CVE-2023-25158 Vulnerability in maven package org.geotools:gt-jdbc
CVE-2020-14967 Vulnerability in maven package org.webjars.bower:jsrsasign