-
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
[CVE/Security] CVE-2021-44906, minimist, in npm v6 #4799
Comments
Prototype pollution attacks in a command line parser aren’t a vulnerability, because the only person you can attack is yourself. While it’s fine if npm updates this, it’s a false positive that users should ignore. |
Agreed, but it's getting flagged in the node:14 docker image and my company prevents containers from starting with critical CVE's after a certain period. Likely easier to fix in node vs getting an exception. |
Given that npm 6 is EOL, i wouldn’t expect so - if your security team won’t give exceptions to invalid CVEs (which is “most of them” in the JS ecosystem) then you have bigger problems, unfortunately. |
Update: @mrbusche, @ruyadorno from our team just cut a new That said, there are still some lingering "high" severity vulns we cannot update unfortunately (their associated with transitive deps that were not patched within a semver range we can update to without breaking changes). This will likely get worse over time as more dependencies stop supporting legacy versions of their packages that supported unmaintained versions of Node. I'd suggest to you, and anyone else reading, to try to upgrade to |
Appreciate the update. Not your issues/concern but hoping Amazon releases a v16 lambda image soon, otherwise we'll end up forcing an update to v8. |
A critically rated CVE, CVE-2021-44906, is present in npm v6, minimist version 1.2.5 is vulnerable and the issue is fixed in 1.2.6.
I'm happy to submit a new package-lock.json after running
npm audit fix
. Doesn't look like any other files need updated based on the history of package-lock.json on v6 branch.The text was updated successfully, but these errors were encountered: