-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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
Fix High severity vulnerabilities #6976
Comments
@inghylt Can you copy and paste the high severity vulnerabilities here. Npm audit is known to have false positives. and some of them may not be coming from vue cli or even relevant |
@prog-rajkamal Sure! Not sure how much details you would like but I have attached a file with the output from |
@inghylt I looked into the issues and there were only 5 unique issues. and they all can be fixed by updating versions. The problem is that these are all nested dependencies, so a PR needs to be sent to the intermediate dependency, and then vue cli needs to update to higher versions of its dependencies. Unique issues: https://www.npmjs.com/advisories/1005154 https://www.npmjs.com/advisories/1006865 https://www.npmjs.com/advisories/1006883 https://www.npmjs.com/advisories/1006884 https://www.npmjs.com/advisories/1006899 |
@prog-rajkamal Yes, seems like that's the case. Do you have the time/possibility to reach out to the intermediate repositories? Seems like Btw, I also saw in this comment that |
Hi any expected time for a new official version that includes the fix for follow-redirects ? |
@tomarie Perhaps the freshly released @vue/cli 5 fixed these? Haven't tried yet... |
@lorand-horvath thanks for the tip. just checked it. and there is no high severity issue. @inghylt I ran "yarn audit" on vue cli v5.0.1 and got a single moderate vulnerability (repeated twice, due to two install paths) only: Hence this issue can be closed |
@prog-rajkamal The vulnerability is caused by shortid, which has been deprecated for quite some time now, but uses nanoid under the hood anyways https://www.npmjs.com/package/shortid |
@lorand-horvath yeah, since it is patched in version 3.1 directly referrring to nanoid will fix it |
@prog-rajkamal Yes it looks like they have all been fixed in v5.0.1! Very nice. |
Version
4.5.15
Environment info
Steps to reproduce
Run
yarn audit
What is expected?
That no vulnerabilities of High severity is found
What is actually happening?
57 vulnerabilities found, 36 Moderate severity, 21 High severity
This is also the case for version v5.0.0-rc.2
The text was updated successfully, but these errors were encountered: