Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLWY3OGYtMzUzbS1jZjRq

Code Injection in node-rules

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.

Permalink: https://github.com/advisories/GHSA-f78f-353m-cf4j
JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLWY3OGYtMzUzbS1jZjRq
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Critical
Classification: General
Published: over 2 years ago
Updated: about 1 year ago


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

Identifiers: GHSA-f78f-353m-cf4j, CVE-2020-7609
References: Repository: https://github.com/mithunsatheesh/node-rules
Blast Radius: 16.2

Affected Packages

npm:node-rules
Dependent packages: 15
Dependent repositories: 45
Downloads: 7,196 last month
Affected Version Ranges: >= 3.0.0, < 5.0.0
Fixed in: 5.0.0
All affected versions: 3.0.0, 3.0.1, 3.0.2, 3.0.3, 3.1.0, 3.2.0, 4.0.0, 4.0.1, 4.0.2
All unaffected versions: 0.1.0, 1.1.0, 1.1.1, 2.1.0, 2.2.0, 2.2.1, 2.2.2, 2.2.3, 5.0.0, 5.1.0, 5.2.0, 6.0.0, 6.1.0, 6.2.0, 6.3.0, 7.0.0, 7.1.0, 7.2.0, 8.0.0, 8.1.0, 9.0.0, 9.1.0, 9.1.1