Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. node-rules
  4. ›
  5. CVE-2020-7609

CVE-2020-7609: Code Injection in node-rules

December 10, 2021 (updated January 23, 2026)

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.

References

  • github.com/advisories/GHSA-f78f-353m-cf4j
  • github.com/mithunsatheesh/node-rules/commit/100862223904bb6478fcc33b701c7dee11f7b832
  • github.com/mithunsatheesh/node-rules/issues/84
  • nvd.nist.gov/vuln/detail/CVE-2020-7609
  • snyk.io/vuln/SNYK-JS-NODERULES-560426

Code Behaviors & Features

Detect and mitigate CVE-2020-7609 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 3.0.0 before 5.0.0

Fixed versions

  • 5.0.0

Solution

Upgrade to version 5.0.0 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

npm/node-rules/CVE-2020-7609.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:36 +0000.