CVE-2024-21534: Code Injection

Published Oct 11, 2024
·
Updated

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](

Other sources

Versions of the package jsonpath-plus before 10.0.0 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:

The unsafe behavior is still available after applying the fix but it is not turned on by default.

Red Hat

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

GitHub

Affected Software

4 affected componentsFixes available
npm/jsonpath-plus<10.2.0
10.2.0
maven/org.webjars.npm:jsonpath-plus<=6.0.1
IBM Cognos Analytics<=12.0.0 - 12.0.4
IBM Cognos Analytics<=11.2.0 - 11.2.4 IF5

Event History

Oct 11, 2024
CVE Published
via MITRE·05:00 AM
Data Sourced
via MITRE·05:00 AM
DescriptionSeverityWeakness
Data Sourced
via Red Hat·06:01 AM
DescriptionSeverityAffected Software
Data Sourced
via NVD·01:15 PM
DescriptionSeverityWeakness
Advisory Published
via GitHub·03:30 PM
Jun 28, 2025
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-21534?

CVE-2024-21534 is considered a high severity vulnerability due to its potential for Remote Code Execution.

2

How do I fix CVE-2024-21534?

To fix CVE-2024-21534, update the jsonpath-plus package to version 10.0.7 or later.

3

Which versions of jsonpath-plus are affected by CVE-2024-21534?

All versions of jsonpath-plus up to and including 6.0.1 are affected by CVE-2024-21534.

4

Can CVE-2024-21534 be exploited remotely?

Yes, CVE-2024-21534 can be exploited remotely due to improper input sanitization.

5

What type of vulnerability is CVE-2024-21534?

CVE-2024-21534 is a Remote Code Execution vulnerability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203