{"id":"CVE-2020-7609","aliases":["EUVD-2021-2510","GHSA-f78f-353m-cf4j","SNYK-JS-NODERULES-560426"],"status":"published","title":"Code Injection in node-rules","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.","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.01596,"percentile":0.75951,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-94"],"published":"2020-04-27T21:06:35Z","modified":"2026-10-20T10:53:30Z","fixes":[{"ecosystem":"npm","package":"node-rules","fixed_in":["5.0.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"node-rules","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.0.0"},{"fixed":"5.0.0"}]}]},{"source":"osv","ecosystem":"npm","package":"node-rules","ranges":[{"type":"SEMVER","events":[{"introduced":"3.0.0"},{"fixed":"5.0.0"}]}]}],"products":[{"vendor":"node-rules_project","product":"node-rules"}],"references":[{"url":"https://github.com/mithunsatheesh/node-rules/commit/100862223904bb6478fcc33b701c7dee11f7b832%2C","tags":["x_refsource_MISC","x_transferred","fix"]},{"url":"https://snyk.io/vuln/SNYK-JS-NODERULES-560426","tags":["x_refsource_MISC","x_transferred","Exploit","Patch","Third Party Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-7609","tags":["advisory"]},{"url":"https://github.com/mithunsatheesh/node-rules/commit/100862223904bb6478fcc33b701c7dee11f7b832","tags":["Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/mithunsatheesh/node-rules/issues/84","tags":["web"]},{"url":"https://github.com/advisories/GHSA-f78f-353m-cf4j"}],"sources":{"cve":[{"id":"CVE-2020-7609","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.","status":"published","published":"2020-04-27T21:06:35Z","modified":"2024-08-04T09:33:19.997Z","updated_at":"2026-11-02T14:35:58.787905Z"}],"euvd":[{"id":"EUVD-2021-2510","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.","status":"published","published":"2020-04-27T21:06:35Z","modified":"2024-08-04T09:33:19Z","updated_at":"2026-11-03T03:07:59.058668Z"}],"ghsa":[{"id":"GHSA-f78f-353m-cf4j","title":"Code Injection in node-rules","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.","status":"published","published":"2021-12-10T20:05:37Z","modified":"2026-01-23T20:52:29Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T14:39:19.525691Z"}],"nvd":[{"id":"CVE-2020-7609","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.","status":"published","published":"2020-04-27T22:15:12.317Z","modified":"2026-06-17T03:25:06.913Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T14:05:59.718774Z"}],"osv":[{"id":"CVE-2020-7609","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.","status":"published","published":"2020-04-27T22:15:12.317Z","modified":"2026-10-20T10:53:30.565071077Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:17.34531Z"},{"id":"GHSA-f78f-353m-cf4j","title":"Code Injection in node-rules","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.","status":"published","published":"2021-12-10T20:05:37Z","modified":"2026-07-08T06:49:29.887872318Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T15:46:46.006631Z"}]}}
