Skip to content

Upgrade JSON-Path-Plus to V10.3.0 #414

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 2 commits into from
Feb 20, 2025

Conversation

danish-khan-I
Copy link
Contributor

This pull request updates the jsonpath-plus dependency to version 10.3.0 to address a critical Remote Code Execution (RCE) vulnerability (GHSA-pppg-cpfq-h7wr) Affecting jsonpath-plus package, versions <10.2.0. The vulnerability stems from improper input sanitization in earlier versions, allowing attackers to execute arbitrary code by exploiting the unsafe default use of the Node.js vm module.

Changes:

Upgraded jsonpath-plus to version 10.3.0 in package.json to leverage the latest security patches and improvements.
Ran dependency audits and verified compatibility with existing functionality.
Benefits:

Fixes a critical security issue (CVSS 9.3), reducing the risk of exploitation.
Ensures safer handling of JSONPath queries within the application.
Testing:

All relevant tests were executed to confirm no regression in functionality.
Security-focused tests confirmed the resolution of known vulnerabilities.

@danish-khan-I danish-khan-I changed the title Update package.json Upgrade JSON-Path-Plus to V10.3.0 Feb 20, 2025
@danish-khan-I
Copy link
Contributor Author

Hey @chris-pardy @CacheControl , this PR needs your immediate attention, thanks.

@chris-pardy chris-pardy merged commit 0a01da6 into CacheControl:master Feb 20, 2025
3 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants