{"id":"GHSA-f78f-353m-cf4j","summary":"Code Injection in node-rules","details":"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.","aliases":["CVE-2020-7609","SNYK-JS-NODERULES-560426"],"modified":"2026-07-08T06:49:29.887872318Z","published":"2021-12-10T20:05:37Z","database_specific":{"cwe_ids":["CWE-94"],"severity":"CRITICAL","github_reviewed":true,"github_reviewed_at":"2021-05-25T20:34:33Z","nvd_published_at":"2020-04-27T22:15:00Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-7609"},{"type":"WEB","url":"https://github.com/mithunsatheesh/node-rules/issues/84"},{"type":"WEB","url":"https://github.com/mithunsatheesh/node-rules/commit/100862223904bb6478fcc33b701c7dee11f7b832"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JS-NODERULES-560426"}],"affected":[{"package":{"name":"node-rules","ecosystem":"npm","purl":"pkg:npm/node-rules"},"ranges":[{"type":"SEMVER","events":[{"introduced":"3.0.0"},{"fixed":"5.0.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/12/GHSA-f78f-353m-cf4j/GHSA-f78f-353m-cf4j.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}