-
-
Notifications
You must be signed in to change notification settings - Fork 43
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
chore: bump version of minimatch due to security issue PRISMA-2022-0039 #76
Conversation
Can you please link the security bulletin so we can review? |
Hi, Link to the repo where it is describe and fix: isaacs/minimatch@a8763f4 |
Can you link to the CVE directly? The code doesn’t tell us anything. |
Vulnerability management: https://www.paloaltonetworks.com/prisma/cloud Link to the repo where it is describe and fix: isaacs/minimatch@a8763f4 |
Thanks. We need to coordinate this with changes in the main repo. Note that the vulnerability does not affect ESLint users because it’s not a server application accepting unknown inputs. |
I tried this PR against the latest |
Thanks! Can you try creating a draft pull request to the main repo with your work so the CI will trigger? We had failures in the main repo on the PR that makes this same upgrade directly in the eslint repo. |
While the following usage apparently isn't covered by the test cases, and perhaps isn't something we intended to support, I've just tried it with the current ESLint v8.14.0 and it works on Windows (I'm getting module.exports = {
overrides: [{
files: ["foo\\bar.js"],
rules: {
"no-undef": "error"
}
}]
}; However, when I replace minimatch v3 with minimatch v5, it doesn't work anymore. This seems like a risky change, so maybe we could leave it for the next major version, and in the meantime just update the dependency requirement to |
Agree, though I’d add let’s wait for the new config system before risking a major upgrade. |
It seems we agree to postpone using minimatch v5. @opravil-jan can you update this PR and eslint/eslint#15774 to minimatch v3.1.2? |
Hi, for me it is okay. Thank you guys |
Prerequisites checklist
What is the purpose of this pull request? (put an "X" next to an item)
[ ] Documentation update
[ ] Bug fix (template)
[ ] New rule (template)
[ ] Changes an existing rule (template)
[ ] Add autofix to a rule
[ ] Add a CLI option
[ ] Add something to the core
[x ] Other, please explain: fixing security issue by bump package version
What changes did you make? (Give an overview)
Is there anything you'd like reviewers to focus on?