-
-
Notifications
You must be signed in to change notification settings - Fork 400
CVE-2020-28469 from parse-glob > glob-base > glob-parent #664
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
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
After looking at the nature of this vulnerability, it's limited impact to It looks, though, like that means upgrading to something other than /app # npm audit
=== npm audit security report ===
Manual Review
Some vulnerabilities require your attention to resolve
Visit https://go.npm.me/audit-guide for additional guidance
Moderate Regular expression denial of service
Package glob-parent
Patched in >=5.1.2
Dependency of htmlhint [dev]
Path htmlhint > parse-glob > glob-base > glob-parent
More info https://npmjs.com/advisories/1751
found 1 moderate severity vulnerability in 717 scanned packages
1 vulnerability requires manual review. See the full report for details. |
This issue affects us too. I was trying to use the package in our project, but infosec won't let us, until you do something with that package. Do you know probably when is this going to happen? |
Any update on this please? |
After updating all npm packages in our fairly large web application to latest versions, Any 3rd party library under healthy maintenance needs respond to newly discovered security vulnerabilities by releasing hotfixes within reasonable time. This security issue has existed for many months now, I sincerely hope a fix will be prioritized as soon as possible. |
It seems like the parse-glob package is no longer maintained, so the only way to resolve this is to replace the dependency. |
fork -> rename -> fix -> release (i.e. However, the author(s) of parse-glob seem the same than the micromatch library which looks like more actively maintained (last updated a month ago), dunno if that can be a proper replacement here, but given they're active around perhaps they will agree on transferring maintenance ownership for parse-glob. /cc @jonschlinkert |
@diegocr I don't think anyone here is offering to take over parse-glob or support a fork |
Hold my beer ;-) Seriously, let's wait to hear from Jon and we will see the path forward then, if in the meantime you find a proper replacement and keen on just replacing parse-glob then that's up to you guys, the easier and swiftly this is handled the better. |
The one area that uses parse-glob is here: Line 330 in 4b77475
It appears the purpose of this function is to extract out the 'base' and 'pattern' from a given file path. I wonder if someone could confirm the usage of parse-glob, which may make it easier for the community to discover an appropriate up-to-date alternate that would provide equivalent functionality? |
The right answer may be to go the route that Tailwind CSS did and remove |
Any update on this ? |
@josundt replaced the vulnerable module in #827, which has been stalled in review long enough to have merge conflicts. I rebased it and generated the JS binaries in #927. If you need a fix now without waiting for HTMLHint to review and merge one of these two PRs, you may add my fork as a dependency to replace the latest HTMLHint release: |
Thanks, @josundt for the fix and @thedaviddias for reviewing and merging the PR! @thedaviddias, please let us know when the v1.1.3+ is released with the fix, so we can all update our deps. |
@joeyparrish - awesome work - I'm super pleased that this is finally resolved. |
🎉 This issue has been resolved in version 1.1.3 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Describe the bug
GHSA-ww39-953v-wcq6
To Reproduce
Steps to reproduce the behavior:
htmlhint
on your nodejs packagenpm audit
Expected behavior
Secure code
Screenshots
Desktop (please complete the following information):
Additional context
I hope your'll fix this as soon as possible
The text was updated successfully, but these errors were encountered: