Skip to content
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

[Snyk] Fix for 1 vulnerabilities #39

Open
wants to merge 1 commit into
base: staging
Choose a base branch
from

Conversation

bobby-lin
Copy link
Owner

This PR was automatically created by Snyk using the credentials of a real user.


Snyk has created this PR to fix one or more vulnerable packages in the `npm` dependencies of this project.

Changes included in this PR

  • Changes to the following files to upgrade the vulnerable dependencies to a fixed version:
    • package.json

Vulnerabilities that will be fixed

With an upgrade:
Severity Priority Score (*) Issue Breaking Change Exploit Maturity
high severity 768/1000
Why? Proof of Concept exploit, Recently disclosed, Has a fix available, CVSS 7.5
Prototype Pollution
SNYK-JS-LODASH-6139239
Yes Proof of Concept

(*) Note that the real score may have changed since the PR was raised.

Commit messages
Package name: babel-eslint The new version differs by 250 commits.

See the full diff

Package name: babel-loader The new version differs by 13 commits.
  • 321852e Merge branch 'release/6.0.0'
  • e7565ee Add @ malyw 's guide to upgrade babel
  • 862b7b1 Update travis badge url
  • ff3bc7a Update dependencies.
  • fc2bfe4 Merge branch 'shinnn-travis-ci' into develop
  • a6f3fc0 Change options to query. Increase timeout interval
  • 94d6308 Merge remote-tracking branch 'werk85/master' into develop
  • f4e40c5 README updated
  • 0823f6a Upgraded to Babel 6
  • bb110a8 set up Travis CI
  • f84ef50 Merge branch 'develop' of github.com:babel/babel-loader into develop
  • 719eb70 Merge branch 'hotfix/5.3.1' into develop
  • 6b33020 Merge branch 'release/5.3.0' into develop

See the full diff

Package name: cheerio The new version differs by 56 commits.

See the full diff

Package name: express-validator The new version differs by 44 commits.

See the full diff

Package name: gulp The new version differs by 134 commits.

See the full diff

Package name: gulp-babel The new version differs by 3 commits.

See the full diff

Package name: gulp-eslint The new version differs by 15 commits.

See the full diff

Package name: rev-del The new version differs by 22 commits.

See the full diff

Check the changes in this PR to ensure they won't cause issues with your project.


Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.

For more information:
🧐 View latest project report

🛠 Adjust project settings

📚 Read more about Snyk's upgrade and patch logic


Learn how to fix vulnerabilities with free interactive lessons:

🦉 Prototype Pollution

The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-LODASH-6139239
Copy link

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/babel-core@6.9.0 environment, filesystem, unsafe Transitive: eval +42 4.45 MB hzoo
npm/babel-eslint@10.1.0 Transitive: environment, eval, filesystem, shell, unsafe +107 16.8 MB kaicataldo
npm/babel-loader@6.0.0 filesystem +2 58.5 kB couto
npm/babel@6.23.0 None 0 1.26 kB loganfsmyth
npm/cheerio@0.20.0 Transitive: filesystem, network, shell, unsafe +14 1.41 MB feedic
npm/eslint@2.1.0 filesystem Transitive: environment, eval, shell +76 8.28 MB nzakas
npm/express-validator@3.2.1 Transitive: environment, eval, unsafe +15 3.18 MB gustavohenke
npm/gulp-babel@6.1.3 unsafe Transitive: environment, eval, filesystem +58 4.41 MB demurgos
npm/gulp-eslint@2.1.0 Transitive: environment, eval, filesystem, shell +84 9.1 MB shinnn
npm/loopback-boot@2.28.0 environment, filesystem, unsafe +2 250 kB rfeng
npm/loopback-component-explorer@2.7.0 Transitive: environment, eval +1 89.2 kB 0candy
npm/loopback-component-passport@1.6.0 None 0 246 kB rfeng
npm/loopback-connector-mongodb@1.13.0 Transitive: eval, filesystem, network +6 2.25 MB rfeng
npm/loopback-testing@1.4.0 None +1 574 kB bajtos
npm/loopback@2.42.0 filesystem, network Transitive: environment, eval +2 1.24 MB jannyhou2016
npm/merge-stream@1.0.1 None +6 56.9 kB shinnn
npm/method-override@2.3.10 Transitive: network +3 39.6 kB dougwilson
npm/mocha@2.5.3 environment, filesystem Transitive: shell +13 812 kB dasilvacontin
npm/moment@2.30.1 None 0 4.35 MB ichernev
npm/mongodb@2.2.36 filesystem, network Transitive: eval +5 1.93 MB mbroadst
npm/morgan@1.10.0 eval Transitive: environment +3 70.6 kB dougwilson
npm/node-uuid@1.4.8 None 0 38.3 kB broofa
npm/nodemailer@1.11.0 filesystem 0 53.8 kB andris
npm/normalize-url@1.9.1 None +1 14.8 kB sindresorhus
npm/object.assign@4.1.5 None 0 72.7 kB ljharb
npm/passport-facebook@2.1.1 None 0 20.6 kB jaredhanson
npm/passport-github@1.1.0 None 0 14.2 kB jaredhanson
npm/passport-google-oauth2@0.1.6 None 0 16.7 kB mstade
npm/passport-linkedin-oauth2@1.6.1 None 0 28 kB glenaauth0
npm/passport-local@1.0.0 None 0 8.07 kB jaredhanson
npm/passport-oauth@1.0.0 None 0 4.47 kB jaredhanson
npm/passport-twitter@1.0.4 None 0 14.7 kB jaredhanson
npm/pmx@0.5.9 environment, filesystem, network, unsafe 0 72.6 kB tknew
npm/ramda@0.18.0 None 0 595 kB davidchambers
npm/react-bootstrap@0.28.5 environment Transitive: eval, filesystem +4 4.64 MB taion
npm/react-dom@0.14.10 None 0 8.92 kB gaearon
npm/react-motion@0.3.1 None 0 80.6 kB chenglou
npm/react-router@1.0.3 environment, filesystem, shell +1 418 kB ryanflorence
npm/react-vimeo@0.0.3 None 0 601 kB berkeleytrue
npm/react@0.14.10 environment 0 2.67 MB gaearon
npm/request@2.88.2 environment, filesystem, network +5 706 kB mikeal
npm/rev-del@2.0.0 filesystem +8 79.9 kB callumacrae
npm/rx@4.1.0 eval 0 6.6 MB mattpodwysocki
npm/sanitize-html@2.13.0 Transitive: network +11 398 kB boutell
npm/sort-keys@1.1.2 None 0 3.58 kB sindresorhus
npm/tap-nyan@0.0.2 Transitive: environment +15 114 kB cwmma
npm/tape@4.17.0 environment, filesystem +10 656 kB ljharb
npm/thundercats-react@0.4.0 environment, network +1 93.8 kB berkeleytrue
npm/thundercats@3.1.0 environment +1 127 kB berkeleytrue
npm/twit@2.2.11 filesystem Transitive: environment, eval, unsafe +2 1.33 MB ttezel
npm/uglify-js@2.8.29 eval, filesystem +1 1.39 MB alexlamsl
npm/url-regex@3.2.0 None 0 3.54 kB kevva
npm/validator@4.9.0 Transitive: environment, eval +1 184 kB cohara87
npm/webpack-stream@2.3.0 None +6 858 kB shama
npm/webpack@1.15.0 filesystem, unsafe Transitive: environment +10 1.25 MB sokra
npm/xss-filters@1.2.7 None 0 252 kB adon
npm/yargs@3.32.0 environment, filesystem Transitive: shell +13 286 kB bcoe

🚮 Removed packages: npm/babel-core@5.8.34, npm/babel-eslint@4.1.8, npm/babel-loader@5.4.0, npm/babel@5.8.34, npm/cheerio@0.19.0, npm/eslint@1.10.3, npm/express-validator@2.21.0, npm/gulp-babel@5.3.0, npm/gulp-eslint@1.1.1, npm/gulp@3.9.1

View full report↗︎

Copy link

🚨 Potential security issues detected. Learn more about Socket for GitHub ↗︎

To accept the risk, merge this PR and you will not be notified again.

Alert Package NoteSource
Install scripts npm/core-js@2.6.12
  • Install script: postinstall
  • Source: node -e "try{require('./postinstall')}catch(e){}"
Install scripts npm/react-router@1.0.3
  • Install script: postinstall
  • Source: node ./npm-scripts/postinstall.js

View full report↗︎

Next steps

What is an install script?

Install scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.

Packages should not be running non-essential scripts during install and there are often solutions to problems people solve with install scripts that can be run at publish time instead.

Take a deeper look at the dependency

Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support [AT] socket [DOT] dev.

Remove the package

If you happen to install a dependency that Socket reports as Known Malware you should immediately remove it and select a different dependency. For other alert types, you may may wish to investigate alternative packages or consider if there are other ways to mitigate the specific risk posed by the dependency.

Mark a package as acceptable risk

To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of ecosystem/package-name@version specifiers. e.g. @SocketSecurity ignore npm/foo@1.0.0 or ignore all packages with @SocketSecurity ignore-all

  • @SocketSecurity ignore npm/core-js@2.6.12
  • @SocketSecurity ignore npm/react-router@1.0.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment