Skip to content

Conversation

@JJ
Copy link

@JJ JJ commented Nov 15, 2021

Prototype polution: https://security.snyk.io/vuln/SNYK-JS-JSONSCHEMA-1920922
Incorporates #27 since it's got a better representation for the remaining deps.

Thus closes #27 when merged.

Copy link

@BruceHaley BruceHaley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is great! Our Bot Framework samples have a nested dependency on prim. Looking forward to upgrading to the prim version that carries this json-schema v 0.4.0 dependency, thereby fixing the vulnerability. Any ETA on when the patch will be available?

@JJ
Copy link
Author

JJ commented Nov 16, 2021

@bahamat any feedback on this?

Comment on lines +11 to +14
"assert-plus": "^1.0.0",
"extsprintf": "^1.3.0",
"json-schema": "^0.4.0",
"verror": "^1.10.0"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are you adding carets? If you think this is a good idea, you should separate this into a different PR, otherwise you risk that this PR will get lost in discussion due to that unexpected change. Or was that merely by mistake?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Got it from the previous PR.

@bahamat
Copy link
Contributor

bahamat commented Nov 17, 2021

Fixed in 017f744

@bahamat bahamat closed this Nov 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

json-schema dependency

5 participants