GHSA-f78f-353m-cf4j

Suggest an improvement
Source
https://github.com/advisories/GHSA-f78f-353m-cf4j
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/12/GHSA-f78f-353m-cf4j/GHSA-f78f-353m-cf4j.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-f78f-353m-cf4j
Aliases
Published
2021-12-10T20:05:37Z
Modified
2025-01-08T07:43:21.527488Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
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.

Database specific
{
    "nvd_published_at": "2020-04-27T22:15:00Z",
    "github_reviewed_at": "2021-05-25T20:34:33Z",
    "severity": "CRITICAL",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-94"
    ]
}
References

Affected packages

npm / node-rules

Package

Affected ranges

Type
SEMVER
Events
Introduced
3.0.0
Fixed
5.0.0