Arbitrary Command Injection Affecting json-logic-js package, versions >=2.0.0 <2.0.2


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.13% (49th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-JSONLOGICJS-3339662
  • published5 Mar 2023
  • disclosed5 Mar 2023
  • creditUnknown

Introduced: 5 Mar 2023

CVE-2021-4329  (opens in a new tab)
CWE-77  (opens in a new tab)

How to fix?

Upgrade json-logic-js to version 2.0.2 or higher.

Overview

json-logic-js is a Build complex rules, serialize them as JSON, and execute them in JavaScript

Affected versions of this package are vulnerable to Arbitrary Command Injection due to improper input sanitization, which allows the exploitation of the vulnerability via the logic.js functionality.

CVSS Scores

version 3.1