{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:node-rules_project:node-rules:*:*:*:*:*:node.js:*:*",
            "extracted_events": [
              {
                "introduced": "3.0.0"
              },
              {
                "fixed": "5.0.0"
              }
            ],
            "source": [
              "CPE_RANGE",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "a121631ae80f8bfe8ec18bbd65474001e0ba9829"
            },
            {
              "fixed": "7a18b2fb5a32ab1ffbb61948877f708866c2ac8a"
            },
            {
              "fixed": "100862223904bb6478fcc33b701c7dee11f7b832"
            }
          ],
          "repo": "https://github.com/mithunsatheesh/node-rules",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "SNYK-JS-NODERULES-560426"
  ],
  "database_specific": {},
  "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.",
  "id": "CVE-2020-7609",
  "modified": "2026-07-08T05:38:20.625867401Z",
  "published": "2020-04-27T22:15:12.317Z",
  "references": [
    {
      "type": "FIX",
      "url": "https://github.com/mithunsatheesh/node-rules/commit/100862223904bb6478fcc33b701c7dee11f7b832"
    },
    {
      "type": "FIX",
      "url": "https://github.com/mithunsatheesh/node-rules/commit/100862223904bb6478fcc33b701c7dee11f7b832%2C"
    },
    {
      "type": "FIX",
      "url": "https://snyk.io/vuln/SNYK-JS-NODERULES-560426"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}