GitHub Advisoryadvisory · npm

GHSA-f78f-353m-cf4j Code Injection in node-rules

CRITICAL Published 2021-12-10 Modified 2026-01-23 Official page ↗
Aliases
CVE-2020-7609
Ecosystem
npm
Packages
node-rules
Severity
Critical
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-94
Reviewed
2021-05-25

Affected packages

• npm node-rules: >= 3.0.0, < 5.0.0 → fixed in 5.0.0

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.

Related

Alias · CVE (1)

  • CVE-2020-7609 node-rules including 3.0.0 and prior to 5.0.0 allows injection of arbitrary commands. vulnerability

Weakness · CWE (1)

  • CWE-94 Improper Control of Generation of Code weakness

References