Security Digest · Vulnerability record

CVE-2024-21534: JSONPath Plus Remote Code Execution (RCE) Vulnerability

All versions of the package jsonpath-plus are vulnerable to Remote Code Execution (RCE) due to improper input sanitization.

CVSS 9.3 Critical EPSS 9.0% · p95

Should you act?

High exploit likelihood

EPSS ranks it in the top 5% of all CVEs for likely exploitation in the next 30 days. This signal is computed from CISA KEV, EPSS and CVSS data; it is not an editorial verdict.

  • Not in CISA KEV, but CISA’s SSVC assessment records a public proof-of-concept, so attack code exists.
  • EPSS 9.0%, percentile 95: FIRST’s model estimates a 9.0% chance of exploitation activity in the next 30 days, higher than 95% of all scored CVEs (very high). EPSS is a probability, not a verdict.
  • Remotely reachable with no login and no user interaction. If the vulnerable service is exposed to the internet, prioritize it.
  • Only applies if your dependency tree includes org.webjars.npm:jsonpath-plus (Maven) <= 6.0.1, no fixed version listed; jsonpath-plus (npm) < 10.2.0, fixed in 10.2.0. Check your lockfile, including transitive dependencies.

What it is

All versions of the package jsonpath-plus are vulnerable to Remote Code Execution (RCE) due to improper input sanitization. An attacker can execute aribitrary code on the system by exploiting the unsafe default usage of vm in Node. Note: There were several attempts to fix it in versions 10.0.0-10.1.0 but it could still be exploited using different payloads.

From the GitHub advisory

Versions of the package jsonpath-plus before 10.0.7 are vulnerable to Remote Code Execution (RCE) due to improper input sanitization. An attacker can execute aribitrary code on the system by exploiting the unsafe default usage of vm in Node.

Note:

There were several attempts to fix it in versions 10.0.0-10.1.0 but it could still be exploited using different payloads

Weakness type: CWE-94.

Product: org.webjars.npm:jsonpath-plus (Maven) · Assigned by: snyk · Published: 2024-10-11

Affected and fixed versions

EcosystemPackageVulnerableFirst fixed
Mavenorg.webjars.npm:jsonpath-plus<= 6.0.1none listed
npmjsonpath-plus< 10.2.010.2.0
VendorProductAffected versions (per CVE record)
n/ajsonpath-plus< *
n/aorg.webjars.npm:jsonpath-plus< *

Severity scores

Scored byCVSSScoreVector
snyk3.19.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P
GitHub4.09.3 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
  • Attack vector: network (remotely reachable)
  • Attack complexity: low
  • Attack requirements: none
  • Privileges required: none (no login)
  • User interaction: none

CVSS measures how bad a flaw is if exploited, not how likely exploitation is. Read it next to the exploitation data below.

Exploitation and urgency

  • CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
  • CISA SSVC assessment: exploitation poc, automatable yes, technical impact total.
  • FIRST EPSS (model of 2026-10-21): 9.02% probability of exploitation activity in the next 30 days; percentile 95.

Timeline

  • — CVE record published by snyk
  • — GitHub-reviewed advisory GHSA-pppg-cpfq-h7wr published (critical)
  • — CVE record last updated

Sources and references

Original sources first. Version and fix details should always be confirmed against the vendor or project advisory.

Vulnerability records

  1. GitHub Advisory GHSA-pppg-cpfq-h7wr github.com
  2. CVE.org record CVE-2024-21534 cve.org
  3. NVD entry CVE-2024-21534 nvd.nist.gov

Other references from the CVE record and advisory

  1. security.snyk.io security.snyk.io
  2. security.snyk.io security.snyk.io
  3. github.com github.com
  4. github.com github.com
  5. github.com github.com
  6. github.com github.com
  7. github.com github.com
  8. github.com github.com
  9. github.com github.com

Critical Maven advisories · Today’s Security Digest