{"id":"CVE-2024-21534","aliases":["CVE-2024-21534","GHSA-pppg-cpfq-h7wr"],"related":[],"kind":"vulnerability","state":"published","title":"JSONPath Plus Remote Code Execution (RCE) Vulnerability","summary":"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.\n\n**Note:**\n\nThere were several attempts to fix it in versions [10.0.0-10.1.0](https://github.com/JSONPath-Plus/JSONPath/compare/v9.0.0...v10.1.0) but it could still be exploited using [different payloads](https://github.com/JSONPath-Plus/JSONPath/issues/226).","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.\n\n**Note:**\n\nThere were several attempts to fix it in versions [10.0.0-10.1.0](https://github.com/JSONPath-Plus/JSONPath/compare/v9.0.0...v10.1.0) but it could still be exploited using [different payloads](https://github.com/JSONPath-Plus/JSONPath/issues/226).","source":"cvelist"},{"lang":"en","text":"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.\n\n**Note:**\n\nThere were several attempts to fix it in versions [10.0.0-10.1.0](https://github.com/JSONPath-Plus/JSONPath/compare/v9.0.0...v10.1.0) but it could still be exploited using [different payloads](https://github.com/JSONPath-Plus/JSONPath/issues/226)","format":"markdown","source":"ghsa"},{"lang":"es","text":"Las versiones del paquete jsonpath-plus anteriores a la 10.0.0 son vulnerables a la ejecución remota de código (RCE) debido a una desinfección de entrada incorrecta. Un atacante puede ejecutar código arbitrario en el sistema aprovechando el uso inseguro predeterminado de vm en Node. **Nota:** El comportamiento inseguro sigue estando disponible después de aplicar la corrección, pero no está activado de forma predeterminada.","source":"nvd"}],"published":"2024-10-11T05:00:01.824Z","modified":"2026-09-10T03:50:19.926Z","severity":{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P","score":9.8,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"CRITICAL"}],"cwes":["CWE-94"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"*","status":"affected"}],"product":"jsonpath-plus","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","fixed":"*","status":"affected"}],"product":"org.webjars.npm:jsonpath-plus","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"0","fixed":"10.0.7","status":"affected"}],"vendor":"jsonpath-plus","product":"jsonpath","cpe":"cpe:2.3:a:jsonpath-plus:jsonpath:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"10.2.0"}],"ecosystem":"npm","package":"jsonpath-plus","purl":"pkg:npm/jsonpath-plus","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"6.0.1"}],"ecosystem":"Maven","package":"org.webjars.npm:jsonpath-plus","purl":"pkg:maven/org.webjars.npm/jsonpath-plus","source":"ghsa"}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-JSONPATHPLUS-7945884","tags":["web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-8185019","tags":["web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/JSONPath-Plus/JSONPath/compare/v9.0.0...v10.1.0","tags":["web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/JSONPath-Plus/JSONPath/issues/226","tags":["web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-21534","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/JSONPath-Plus/JSONPath/issues/226#issuecomment-2424230316","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/JSONPath-Plus/JSONPath/pull/233","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/JSONPath-Plus/JSONPath/commit/6b2f1b4c234292c75912b790bf7e2d7339d4ccd3","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/JSONPath-Plus/JSONPath/commit/73ad72e5ee788d8287dea6e8283a3f16f63c9eb8","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/JSONPath-Plus/JSONPath/commit/b70aa713553caf838a63bac923195a5bc541fd72","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/JSONPath-Plus/JSONPath","tags":["package"],"sources":["ghsa"]}],"credits":["Andrea Angelo Raineri"],"assigner":"snyk","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"total","date":"2024-10-11T14:23:05.262Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-21534","url":"https://www.cve.org/CVERecord?id=CVE-2024-21534","licence":"CVE Terms of Use","modified":"2024-11-18T10:37:45.634Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-pppg-cpfq-h7wr","url":"https://github.com/advisories/GHSA-pppg-cpfq-h7wr","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:19.926Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-21534","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-21534","licence":"Public domain","modified":"2026-06-17T07:09:41.657Z"}],"updatedAt":"2026-11-25T22:58:46.644Z","epss":{"score":0.09017,"percentile":0.95382,"date":"2026-12-01T12:00:22.000Z"}}