CVE-2020-7609 json
Code Injection in node-rules
published 2020-04-27 6 y ago modified 2026-07-08 4 mo ago also GHSA-f78f-353m-cf4j , EUVD-2021-2510
- cvss
- 9.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.6%
- EPSS 1.6% chance of exploitation in 30 days, percentile 75%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm node-rules 5.0.0
- node-rules_project node-rules 5.0.0
Exploit prediction
1.60% chance of exploitation in the next 30 days, higher than 75% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- snyk.io https://snyk.io/vuln/SNYK-JS-NODERULES-560426 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | node-rules | >=3.0.0, <5.0.0 |
5.0.0 |
Affected products
- n/a node-rules
Classification
- Weakness
-
- CWE-94 Improper Control of Generation of Code
References
- github.com /mithunsatheesh/node-rules/commit/100862223904bb6478fcc33b701c7dee11f7b832%2C
-
snyk.io
/vuln/SNYK-JS-NODERULES-560426
web, exploit, patch, third-party-advisory
-
github.com
/mithunsatheesh/node-rules/commit/100862223904bb6478fcc33b701c7dee11f7b832
web, patch, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2020-7609
advisory
-
github.com
/mithunsatheesh/node-rules/issues/84
web
Sources
- CVE List CVE-2020-7609
- GitHub Advisory GHSA-f78f-353m-cf4j
- NVD CVE-2020-7609
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.