-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
build: use dot-prop-legacy patch to resolve CVE-2020-8116 #1682
Conversation
Waiting for downstream dependency dot-prop-legacy to be swapped for the official dot-prop |
@ruyadorno looks like just yeoman/update-notifier#187 needs to happen and then |
Thanks @cmdcarini! ❤️ Usually updating deps is a part of our regular Release process so I'm sorry I didn't picked up your contribution 😅 normally I try to at least give credit for folks who poke us about updating a dep but in this case the fact that the PR was still in Draft mode made it slip out of my radar. That said, the update went out yesterday and the Thanks again! |
@ruyadorno sorry but in 6.14.8 the faulty https://github.com/npm/cli/blob/v6.14.8/package-lock.json#L1175 |
@mtrepanier good catch, turns out the Just fixed that! Thanks for the heads up! 😄 |
I still don't see an official release with this fix. Has this code been merged anywhere? On master there are still multiple references to the vulnerable dot-prop package version. |
@kamal94 in the latest The link you posted to the |
Thank you for clarifying :) For whatever reason, I had assumed that we needed to upgrade the minor/major version and didn't notice they had backported the fix with a patch release. Update for clarity: The git diff we needed:
Before using npm --version
6.14.6 After using npm --version
6.14.8 |
Me again! This updates the version of
configstore
anddot-prop
to resolve the vulnerability present in the existing version'sdot-prop
dependency. This resolves #1584. This utilizes the changes that @ruyadorno created based on this fork and an update toconfigstore
which also includes this patch. This time while retaining Node v6 compatibility.References
Closes #1584
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-8116