[GHSA-87r5-mp6g-5w5j] jsonpath has Arbitrary Code Injection via Unsafe Evaluation of JSON Path Expressions#6933
Open
Alina-Podoba wants to merge 1 commit intoAlina-Podoba/advisory-improvement-6933from
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updates
Comments
Reviewing the source code of the newly released version 1.2.1 shows no substantial changes to the vulnerable evaluation logic in lib/handlers.js. It continues to rely on static-eval to process user-supplied JSON Path expressions, which is the root cause of the RCE vulnerability. Version 1.2.1 should NOT be listed as a patched version. There is currently no secure version of this package, and the advisory must be updated to prevent users from falling into a false sense of security by upgrading to an equally vulnerable version.