-
Notifications
You must be signed in to change notification settings - Fork 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
Found 71 vulnerabilities, Severity:68 Low | 3 high #4402
Comments
Hi @erwinsetiawan! It looks like you may have removed some required elements from the initial comment template, without which I can't verify that this post meets our contribution guidelines. To re-open this issue, please copy the template from here, paste it at the beginning of your initial comment, and follow the instructions in the text. Then post a new comment (e.g. "ok, fixed!") so that I know to go back and check. Sorry to be a hassle, but following these instructions ensures that we can help you in the best way possible and keep the Sails project running smoothly. *If you feel this message is in error, or you want to debate the merits of my existence (sniffle), please contact inquiries@sailsjs.com |
Sorry to be a hassle, but it looks like your issue is still missing some required info. Please double-check your initial comment and try again. *If you feel this message is in error, or you want to debate the merits of my existence (sniffle), please contact inquiries@sailsjs.com |
Sorry to be a hassle, but it looks like your issue is still missing some required info. Please double-check your initial comment and try again. *If you feel this message is in error, or you want to debate the merits of my existence (sniffle), please contact inquiries@sailsjs.com |
@erwinsetiawan thanks for bringing this up! See https://trello.com/c/W868yIWj for status on this: We've made some progress already and addressed and published patches re: the reports where I've been able to verify there is a real issue. More context about this new on-every-install feature of NPM 6: https://twitter.com/brianleroux/status/994609068105859075 tldr; I'm comfortable with the remaining security reports, and the explanations in that Trello card. I'm continuing to work on making those warnings go away, and PRs are definitely welcome if anyone has time to chip in. |
@mikermcneil, are you welcome PRs with such problems solving to v0.12 and v0.11 branches? Because it's difficult task to update sails in big enterprise projects.I could say it's unreal task. So in our company we use even v0.11.5 and 0.12.14 without any dreams about updating... |
Sorry to hi-jack this thread but after an audit fix...
Most of the vulnerabilities seem to be related to machinepack and mailgun. |
Just some additional info: For Sails 1.0.2, I get now |
Hello, hope these vulnerabilities get a fix soon, just upgraded to node 10 and npm 6.4 and have about 96 vulnerabilities most of them because of sails and it's dependencies. |
Any movement on this? Since the root issue is resolved in sailshq/machinepack-process, is there anything further to do beyond updating the Sails dependency and pushing out a new release? |
I'd like an update for this as well. Just did a fresh setup on my v8.12.0 environment after installing the cli and I got this:
I mean, no sane person would deploy an app with that many vulnerabilities, right? |
FWIW: I'm in no way associated with Balderdashy / Sails. @cupofjoakim Most sane people run many many products with many many more vulnerabilities. Try having a look at https://www.cvedetails.com/top-50-products.php and you'll find you have more than a few on your computer right now. Quite a bit more! I think PRs and contributing developers are always welcome 😉 Most software has many many more vulns, and it's great that npm now alerts people, but these alerts causing people to nag already busy developers. Submit a PR, send a donation or subscribe to premium support! I mean, no sane person would expect things for free, right? |
This conversation popped up on google when I searched for npm audit vulnerabilities - @wulfsolter Thanks for that link, that was real eye opening! I think this is still a very legit concern for all users of npm products - consider that having 71 vulnerabilities in 2019, would be place you at #5 on the list! I can imagine this might be comparing apples to oranges.. perhaps CVEs are more dangerous that node advisories, or maybe the exploitable count is much lower, but still. |
Very much apples to oranges - most of the "vulnerabilities" are conceptual. A case of "Prototype Pollution" does not make for a vulnerability. Sure, the code could be written better, but to call it a vulnerability is scaremongering by npm. If this amount of scaremongering means we'll have better code in a few years time, fantastic. If it means people give up, then it's a shame. The single "critical" level vuln (npm lists it twice because the same package is installed twice due to npm being a bit less than optimal for de-duplication) is https://www.npmjs.com/advisories/663. A package that is designed to open files could do bad things if passed unsanitized data? Really simple solution, don't give it untrusted data from the users. I've had a look how that code is called, and I'm very happy running Sails in production. So by that count, the 71 "vulnerabilities" becomes 1 thing to keep an eye on and 0 vulnerabilities. Upstream most of these things have been migrated, they'll trickle down soon enough but the reason they're not immediate is because they're really not "vulnerabilities" nor are they serious. |
@wulfsolter @SethArchambault @cupofjoakim @dancrumb @dan-astiak @JedI-O @elipeters @erwinsetiawan Thanks everyone for your input! I think that @wulfsolter is spot on here, but I also want to add my 2¢ (hopefully as a bit of reassurance):
|
Sails version: 1.0
Node version: 10
NPM version: 6.0.2
DB adapter name: sails-mongo
DB adapter version: 1.0.1
Operating system: Mac OSX 10.11.6
Hi Just success installing sailsjs and can do sails lift.
But when i just remove directory node_modules and run npm install again it will appear:
71 vulnerabilities found [20220 packages audited]
Severity: 68 Low | 3 High
Is it ok? and if I do npm audit there is a lot of outdate dependencies that need to update
The text was updated successfully, but these errors were encountered: