Advisory

GHSA-f78f-353m-cf4j

Also known as: CVE-2020-7609, SNYK-JS-NODERULES-560426

Summary

Code Injection in node-rules

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.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2021-12-10 20:05 UTC
Modified
2026-07-08 06:49 UTC

Affected packages and fixes

node-rules

npm · All systems

Affected

  • introduced 3.0.0, fixed 5.0.0 (semver)

Fixed versions

5.0.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences