-
Notifications
You must be signed in to change notification settings - Fork 215
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Backport fix for GHSA-8gh8-hqwg-xf34 to v2 #308
Comments
Cannot fix the ajv-cli vulnerability currently, see - ajv-validator/ajv-cli#227 - Starcounter-Jack/JSON-Patch#308
Cannot fix the ajv-cli vulnerability currently, see - ajv-validator/ajv-cli#227 - Starcounter-Jack/JSON-Patch#308
@Starcounter-Jack I've prepared a patch that applies #262 to v2.2.1 cleanly - I'm happy to open a PR if you want to create a v2 branch off v2.2.1:
|
Cannot fix the ajv-cli vulnerability currently, see - ajv-validator/ajv-cli#227 - Starcounter-Jack/JSON-Patch#308
I think prototype pollution is not a real risk for CLI, where you control all inputs? There may be some complex attack scenario I am missing. Anyway, needs to be updated of course. |
@epoberezkin yeah with a CLI-based program it's probably a lot harder to exploit, but why take the risk when it's easily patched? |
@Starcounter-Jack @epoberezkin friendly pings |
1 similar comment
@Starcounter-Jack @epoberezkin friendly pings |
Currently
ajv-cli
is using v2 of this library - while I've opened a PR to update it to v3, I'm not sure when it might actually get merged and released as @epoberezkin is pretty busy and so the CLI doesn't get updated that frequently.If you're open to backport fix for GHSA-8gh8-hqwg-xf34 to v2, that would allow people to resolve the vulnerability without needing a new version of
ajv-cli
released - looking at the changelogs and the v2 code it looks like the changes in #262 should land cleanly, and I'm happy to help if that would make it easier.The text was updated successfully, but these errors were encountered: