-
-
Notifications
You must be signed in to change notification settings - Fork 27k
Vulnerable dependencies in 1.1.4 #4374
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 dependency is only used in tests so I don't think it's practically relevant. |
Makes sense. Thanks for the quick reply! For what it's worth, a couple of those vulnerabilities are introduced through |
Quick update: it sounds like the vulnerability report on hoek 4.2.1 is a false positive. The issues in the Snyk test do seem to be legitimate, though. |
Snyk is reporting macaddress is vulnerable as well. Are you aware of it? https://snyk.io/test/npm/create-react-app |
I don't see anything there. |
Oops wrong link. Here is the correct one: https://snyk.io/test/npm/react-scripts/1.1.4 - can you see it now? |
It would seem |
To be fair, this whole thing reeks of code smell. Why |
Because common functionality should be abstracted. In scale small highly shared utils subtract source size significantly and allow sharing fixes to common problems be shared easily |
If you look at the vulnerability description, it says it only matters if the outside code has control over the argument (which it doesn’t). So again, this doesn’t affect us in any way. |
As I have explained in #4479 (comment) there’s no actual vulnerability you’re being affected here. |
Not exactly inspirational for a newcomer though. Need a way to either upgrade past it or silence the warning. |
Do you think we're happy this is the case? 😉 It's just as annoying to me to keep responding to five different threads about it, as it is to you to see a message like this. I don't know what to suggest to you. We didn't turn these warnings on. Either you did it, or npm did it by default. (I don't know which one is the case.) We can't fix it without the downstream dependency updating. When this happens, we'll happily cut a patch. You can help too! |
I have same with
Package was updated 3 years ago.
That's right, npm added
In many companies |
We’re happy to take a pull request that updates the dependency or switches it. It might be that you’ll need to send it to a few underlying packages. I don’t personally have the time to work on this right now. Are you willing to help out since it was your company that enabled these checks and is affected by the false positives? |
both hoek and macaddress are no longer present in [email protected] and @next |
Version 1.1.4 (the latest version as of this writing) has dependencies with known security vulnerabilities. Thank you in advance for looking into this! 😄
Is this a bug report?
Yes
Did you try recovering your dependencies?
Yes
Which terms did you search for in User Guide?
security, vulnerability, hoek
Environment
node -v
: v8.11.1npm -v
: 6.0.0yarn --version
(if you use Yarn): N/Anpm ls react-scripts
(if you haven’t ejected):Steps to Reproduce
npm install
npm ls hoek
Expected Behavior
Actual Behavior
See also "Security vulnerability: hoek" in the Jest repo
Reproducible Demo
N/A
The text was updated successfully, but these errors were encountered: