{"id":"CVE-2024-21534","state":"PUBLISHED","title":"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","description":"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.\r\r**Note:**\r\rThere 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).","publishedAt":"2024-10-11T05:00:01.824Z","updatedAt":"2024-11-18T10:37:45.634Z","severity":{"score":9.8,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P","source":"snyk"},"assigner":"snyk","products":["n/a jsonpath-plus","n/a org.webjars.npm:jsonpath-plus"],"affected":[{"vendor":"n/a","product":"jsonpath-plus","versions":[{"version":"0","status":"affected","lessThan":"*","versionType":"semver"}]},{"vendor":"n/a","product":"org.webjars.npm:jsonpath-plus","versions":[{"version":"0","status":"affected","lessThan":"*","versionType":"semver"}]}],"references":["https://security.snyk.io/vuln/SNYK-JS-JSONPATHPLUS-7945884","https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-8185019","https://github.com/JSONPath-Plus/JSONPath/compare/v9.0.0...v10.1.0","https://github.com/JSONPath-Plus/JSONPath/issues/226"],"weaknesses":["CWE-94"],"ingestedAt":"2026-10-29T20:06:59.846Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/21xxx/CVE-2024-21534.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-21534","state":"PUBLISHED","datePublished":"2024-10-11T05:00:01.824Z","dateUpdated":"2024-11-18T10:37:45.634Z","assignerShortName":"snyk","assignerOrgId":"bae035ff-b466-4ff4-94d0-fc9efd9e1730","dateReserved":"2023-12-22T12:33:20.123Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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.\r\r**Note:**\r\rThere 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)."}],"affected":[{"vendor":"n/a","product":"jsonpath-plus","versions":[{"version":"0","status":"affected","lessThan":"*","versionType":"semver"}]},{"vendor":"n/a","product":"org.webjars.npm:jsonpath-plus","versions":[{"version":"0","status":"affected","lessThan":"*","versionType":"semver"}]}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-JSONPATHPLUS-7945884"},{"url":"https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-8185019"},{"url":"https://github.com/JSONPath-Plus/JSONPath/compare/v9.0.0...v10.1.0"},{"url":"https://github.com/JSONPath-Plus/JSONPath/issues/226"}],"metrics":[{"cvssV3_1":{"version":"3.1","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-94","description":"Remote Code Execution (RCE)","lang":"en"}]}],"providerMetadata":{"shortName":"snyk","orgId":"bae035ff-b466-4ff4-94d0-fc9efd9e1730","dateUpdated":"2024-11-18T10:37:45.634Z"},"credits":[{"value":"Andrea Angelo Raineri","lang":"en"}]},"adp":[{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"jsonpath-plus","product":"jsonpath","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThan":"10.0.7","versionType":"custom"}],"cpes":["cpe:2.3:a:jsonpath-plus:jsonpath:*:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-10-11T14:23:05.262400Z","id":"CVE-2024-21534","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-94","type":"CWE","lang":"en","description":"CWE-94 Improper Control of Generation of Code ('Code Injection')"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-10-22T19:13:34.790Z"}}]}}}