Vulnerability · Published Mar 5, 2023 · Assigned by VulDB
CVE-2021-4329json-logic-js logic.js command injection
Medium 5.5
In plain English
A medium-severity command injection in json-logic-js. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.2% (higher than 83% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
A vulnerability, which was classified as critical, has been found in json-logic-js 2.0.0. Affected by this issue is some unknown functionality of the file logic.js. The manipulation leads to command injection. Upgrading to version 2.0.1 is able to address this issue. The patch is identified as c1dd82f5b15d8a553bb7a0cfa841ab8a11a9c227. It is recommended to upgrade the affected component. VDB-222266 is the identifier assigned to this vulnerability.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | json-logic-js | 2.0.1 | GHSA-67j4-2mh6-8627 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| n/a | json-logic-js | 2.0.0 |
Weakness: CWE-77 · Vector: CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
References
- https://vuldb.com/?id.222266 vdb-entry, technical-description
- https://vuldb.com/?ctiid.222266 signature, permissions-required
- https://github.com/jwadhams/json-logic-js/pull/98 issue-tracking
- https://github.com/jwadhams/json-logic-js/commit/c1dd82f5b15d8a553bb7a0cfa841ab8a11a9c227 patch