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] Security upgrade socket.io from 3.1.2 to 4.6.2 #33

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

Conversation

dorielalon
Copy link

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


![snyk-top-banner](https://github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)

Snyk has created this PR to fix 1 vulnerabilities in the npm dependencies of this project.

Snyk changed the following file(s):

  • package.json

Vulnerabilities that will be fixed with an upgrade:

Issue Score
high severity Uncaught Exception
SNYK-JS-SOCKETIO-7278048
  167  

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.
  • This PR was automatically created by Snyk using the credentials of a real user.

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
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic


Learn how to fix vulnerabilities with free interactive lessons:

🦉 Uncaught Exception

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

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

Package New capabilities Transitives Size Publisher
npm/@angular-builders/custom-webpack@15.0.0 eval Transitive: environment, filesystem, network +18 8.07 MB justjeb
npm/@angular-devkit/build-angular@15.2.11 environment, filesystem, network, shell, unsafe Transitive: eval +276 292 MB google-wombot
npm/@angular-eslint/builder@0.8.0-beta.7 Transitive: eval, filesystem, network +8 2.21 MB jameshenry
npm/@angular-material-extensions/password-strength@6.0.0 Transitive: filesystem +10 119 MB anthonynahas
npm/@angular/animations@15.2.10 None 0 2.49 MB google-wombot
npm/@angular/cdk@14.2.7 None 0 10.9 MB google-wombot
npm/@angular/cli@15.2.11 environment, filesystem, network, shell, unsafe Transitive: eval +35 27.7 MB google-wombot
npm/@angular/common@15.2.10 None 0 12.3 MB google-wombot
npm/@angular/compiler-cli@15.2.10 Transitive: environment, filesystem, unsafe +58 16.4 MB google-wombot
npm/@angular/compiler@15.2.10 None 0 9.07 MB google-wombot
npm/@angular/core@15.2.10 None 0 23 MB google-wombot
npm/@angular/flex-layout@10.0.0-beta.32 None +3 44.9 MB angular
npm/@angular/forms@15.2.10 None 0 2.67 MB google-wombot
npm/@angular/http@8.0.0-beta.10 None +2 26.9 MB angular
npm/@angular/language-service@15.2.10 None 0 14.8 MB google-wombot
npm/@angular/material@14.2.7 None 0 17.8 MB google-wombot
npm/@angular/platform-browser-dynamic@15.2.10 None 0 132 kB google-wombot
npm/@angular/platform-browser@15.2.10 None 0 1.12 MB google-wombot
npm/@angular/router@15.2.10 None 0 3.22 MB google-wombot
npm/@ctrl/ngx-codemirror@6.1.0 None +3 310 kB scttcper
npm/@cyclonedx/webpack-plugin@3.12.0 filesystem Transitive: environment, eval, network, shell +14 12.7 MB cyclonedx-automation
npm/@fortawesome/fontawesome-svg-core@1.2.36 None +1 321 kB robmadole
npm/@fortawesome/free-brands-svg-icons@5.15.4 None +1 2.07 MB robmadole
npm/@fortawesome/free-regular-svg-icons@5.15.4 None +1 651 kB robmadole
npm/@fortawesome/free-solid-svg-icons@5.15.4 None +1 3.24 MB robmadole
npm/@nguniversal/express-engine@10.0.1 filesystem Transitive: environment, eval, network +28 38.2 MB angular
npm/@ngx-translate/core@13.0.0 None 0 591 kB ocombe
npm/@ngx-translate/http-loader@6.0.0 None 0 15 kB ocombe
npm/@types/file-saver@2.0.7 None 0 6.31 kB types
npm/@types/jasminewd2@2.0.13 None 0 6.86 kB types
npm/@types/jwt-decode@2.2.1 None 0 2.99 kB types
npm/@typescript-eslint/eslint-plugin-tslint@6.21.0 Transitive: environment, filesystem +23 2.51 MB jameshenry
npm/@wagmi/core@0.5.8 environment +1 549 kB jmoxey
npm/anuglar2-qrcode@2.0.9998 None 0 19.4 kB bkimminich
npm/canvas-confetti@1.9.3 None 0 92.3 kB kirilv
npm/codelyzer@6.0.2 filesystem Transitive: environment, eval, shell, unsafe +13 58.1 MB mgechev
npm/codemirror-solidity@0.2.5 None 0 506 kB alincode
npm/codemirror@5.65.16 None 0 2.96 MB marijn
npm/core-js@3.37.1 environment, eval, filesystem 0 1.23 MB zloirock
npm/eslint-config-prettier@7.1.0 None 0 16.9 kB lydell
npm/eslint-plugin-jsdoc@30.7.13 Transitive: environment, eval, filesystem, shell, unsafe +59 9.87 MB gajus
npm/eslint-plugin-standard@4.1.0 None 0 28.7 kB feross
npm/ethers@5.7.2 Transitive: network +40 17.8 MB ricmoo
npm/file-saver@2.0.5 None 0 36 kB endless
npm/flag-icons@6.15.0 None 0 4.37 MB lipis
npm/font-mfizz@2.4.1 None 0 3.22 MB exaptis
npm/jasmine-spec-reporter@7.0.0 filesystem Transitive: environment +1 259 kB bcaudan
npm/jwt-decode@2.2.0 None 0 26.4 kB jfromaniello
npm/karma-chrome-launcher@3.1.1 environment, filesystem +1 40.1 kB karmarunnerbot
npm/karma-coverage@2.2.1 Transitive: environment, filesystem, unsafe +57 13.1 MB karmarunnerbot
npm/karma-jasmine-html-reporter@1.7.0 None 0 55.4 kB dfederm
npm/karma-jasmine@4.0.2 None 0 25.8 kB karmarunnerbot
npm/karma@6.4.3 environment, filesystem, network, shell Transitive: eval +48 2.57 MB karmarunnerbot

🚮 Removed packages: npm/@cyclonedx/cyclonedx-npm@1.19.0, npm/@istanbuljs/nyc-config-typescript@1.0.2, npm/@types/chai-as-promised@7.1.8, npm/@types/chai@4.3.16, npm/@types/clarinet@0.12.3, npm/@types/compression@1.7.5, npm/@types/config@3.3.4, npm/@types/cookie-parser@1.4.7, npm/@types/cross-spawn@6.0.6, npm/@types/cypress@1.1.3, npm/@types/download@8.0.5, npm/@types/errorhandler@1.5.3, npm/@types/exif@0.6.5, npm/@types/express-jwt@6.0.4, npm/@types/frisby@2.0.17, npm/@types/fs-extra@9.0.13, npm/@types/glob@7.2.0, npm/@types/graceful-fs@4.1.9, npm/@types/i18n@0.12.0, npm/@types/jest@26.0.24, npm/@types/js-yaml@3.12.10, npm/@types/jsonwebtoken@8.5.9, npm/@types/jws@3.2.10, npm/@types/mocha@8.2.3, npm/@types/morgan@1.9.9, npm/@types/multer@1.4.11, npm/@types/on-finished@2.3.4, npm/@types/pdfkit@0.10.6, npm/@types/portscanner@2.1.4, npm/@types/pug@2.0.10, npm/@types/request@2.48.12, npm/@types/sanitize-html@1.27.2, npm/@types/sequelize@4.28.20, npm/@types/sinon-chai@3.2.12, npm/@types/sinon@10.0.20, npm/@types/socket.io@2.1.13, npm/@types/swagger-ui-express@4.1.6, npm/@types/unzipper@0.10.9, npm/@types/validator@13.12.0, npm/chai-as-promised@7.1.2, npm/chai@4.4.1, npm/check-dependencies@1.1.1, npm/check-internet-connected@2.0.6, npm/clarinet@0.12.6, npm/concurrently@5.3.0, npm/config@3.3.11, npm/cookie-parser@1.4.6, npm/cypress@13.12.0, npm/dottie@2.0.6, npm/download@8.0.0, npm/errorhandler@1.5.1, npm/ethers@6.13.1, npm/exif@0.6.0, npm/express-ipfilter@1.3.2, npm/express-jwt@0.1.3, npm/express-rate-limit@5.5.1, npm/express-robots-txt@0.4.1, npm/express-security.txt@2.0.0, npm/feature-policy@0.5.0, npm/file-stream-rotator@0.5.7, npm/file-type@16.5.4, npm/filesniffer@1.0.3, npm/finale-rest@1.2.2, npm/fs-extra@9.1.0, npm/fuzzball@1.4.0, npm/grunt-cli@1.4.3, npm/grunt-contrib-compress@1.6.0, npm/grunt-replace-json@0.1.0, npm/grunt@1.6.1, npm/hashids@2.3.0, npm/hbs@4.2.0, npm/helmet@4.6.0, npm/html-entities@1.4.0, npm/http-server@0.12.3, npm/i18n@0.11.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 NoteSourceCI
Install scripts npm/@fortawesome/free-regular-svg-icons@5.15.4
  • Install script: postinstall
  • Source: node attribution.js
🚫
Install scripts npm/@fortawesome/free-brands-svg-icons@5.15.4
  • Install script: postinstall
  • Source: node attribution.js
🚫
Install scripts npm/@fortawesome/free-solid-svg-icons@5.15.4
  • Install script: postinstall
  • Source: node attribution.js
🚫
Install scripts npm/@fortawesome/fontawesome-svg-core@1.2.36
  • Install script: postinstall
  • Source: node attribution.js
🚫
Install scripts npm/@fortawesome/fontawesome-common-types@0.2.36
  • Install script: postinstall
  • Source: node attribution.js
🚫
Install scripts npm/esbuild@0.17.8 🚫
Install scripts npm/libxmljs2@0.33.0
  • Install script: install
  • Source: node-pre-gyp install --fallback-to-build --loglevel http
🚫
Install scripts npm/core-js@3.37.1
  • Install script: postinstall
  • Source: node -e "try{require('./postinstall')}catch(e){}"
🚫

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/@fortawesome/free-regular-svg-icons@5.15.4
  • @SocketSecurity ignore npm/@fortawesome/free-brands-svg-icons@5.15.4
  • @SocketSecurity ignore npm/@fortawesome/free-solid-svg-icons@5.15.4
  • @SocketSecurity ignore npm/@fortawesome/fontawesome-svg-core@1.2.36
  • @SocketSecurity ignore npm/@fortawesome/fontawesome-common-types@0.2.36
  • @SocketSecurity ignore npm/esbuild@0.17.8
  • @SocketSecurity ignore npm/libxmljs2@0.33.0
  • @SocketSecurity ignore npm/core-js@3.37.1

@rafikmojr
Copy link

Logo
Checkmarx One – Scan Summary & Detailse06f8624-0fa5-4057-b446-daf91ffe928c

New Issues

Severity Issue Source File / Package Checkmarx Insight
HIGH CVE-2024-37890 Npm-ws-7.4.6 Vulnerable Package

Fixed Issues

Severity Issue Source File / Package
MEDIUM CVE-2022-41940 Npm-engine.io-4.1.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants