GHSA-8whr-v3gm-w8h9 – node-rules
Package
Manager: npm
Name: node-rules
Vulnerable Version: >=0 <5.0.0
Severity
Level: High
CVSS v3.1: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:L
CVSS v4.0: CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:L/VA:L/SC:H/SI:L/SA:L
EPSS: N/A pctlN/A
Details
Command Injection in node-rules Versions of `node-rules` prior to 5.0.0 are vulnerable to Command Injection. The package fails to sanitize input rules and passes it directly to an `eval` call when using the `fromJSON` function. This may allow attackers to execute arbitrary code in the system if the rules are user-controlled. ## Recommendation Upgrade to version 5.0.0 or later.
Metadata
Created: 2020-09-03T15:51:04Z
Modified: 2021-10-04T21:08:30Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-8whr-v3gm-w8h9/GHSA-8whr-v3gm-w8h9.json
CWE IDs: ["CWE-78"]
Alternative ID: N/A
Finding: F404
Auto approve: 1