-
-
Notifications
You must be signed in to change notification settings - Fork 106
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
[BUG] @asyncapi/multi-parser
still depending on vulnerable version of jsonpath-plus
#1065
Comments
Welcome to AsyncAPI. Thanks a lot for reporting your first issue. Please check out our contributors guide and the instructions about a basic recommended setup useful for opening a pull request. |
Could you let me know when you expect to review the fix for this bug? |
coming here from asyncapi/generator#1323 @jonaslagoni @magicmatatjahu @smoya any ideas how we could fix that? affected things are:
but damn, doing patches is a hell of a job what about adding this to
since
the only thing is that adding such override, we would need to release new major for
|
Hey @derberg @jonaslagoni @magicmatatjahu @smoya @BenjaminSchwendner The suggested approach using I agree that this warrants a major version bump for For the next steps, I suggest we create a new major version of multi-parser (v3.0.0), add the overrides for jsonpath-plus >=10.0.7, add the Node.js engine requirement, update documentation to clearly communicate the Node.js version requirement, and add a migration guide for users who need to upgrade. |
@BenjaminSchwendner @derberg Thanks for the efforts on this issue. I created a PR with the suggested changes #1086 |
This bug also affects the
|
Describe the bug.
There is a vulnerability in
jsonpath-plus
on versions earlier than10.0.7
.You already merged these two PRs (#1058, #1062), making the
@asyncapi/parser
package migrate to a safe version.However, the
@asyncapi/multi-parser
package still depends on versions of@asyncapi/multi-parser
(parserapiv1
as well asparserapiv2
) that use older versions ofjsonpath-plus
(7.2.0
).Would it be possible to release patches for
2.1.0
and3.0.0-next-major-spec.8
of@asyncapi/parser
that use the safe version ofjsonpath-plus
and then make@asyncapi/multi-parser
use these versions?Expected behavior
@asyncapi/multi-parser
should only rely onjsonpath-plus@>10.0.7
Screenshots
Here the (relevant) output of
npm why jsonpath-plus
after runningnpm install @asyncapi/multi-parser
on a blank npm package:How to Reproduce
Install
@asyncapi/multi-parser
and find the versions ofjsonpath-plus
that got installed.🥦 Browser
None
👀 Have you checked for similar open issues?
🏢 Have you read the Contributing Guidelines?
Are you willing to work on this issue ?
None
The text was updated successfully, but these errors were encountered: