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 apollo-server-micro from 2.26.2 to 3.13.0 #162

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

Conversation

Abuchtela
Copy link
Owner

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):

  • examples/with-apollo-neo4j-graphql/package.json

Vulnerabilities that will be fixed with an upgrade:

Issue Score
high severity Denial of Service (DoS)
SNYK-JS-WS-7266574
  170  

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:

🦉 Denial of Service (DoS)

Copy link

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

Package New capabilities Transitives Size Publisher
npm/@apollo/client@3.10.4 network Transitive: environment, eval +15 7.75 MB apollo-bot
npm/@apollo/server@4.10.4 environment, network Transitive: filesystem, unsafe +59 8.09 MB apollo-bot
npm/@as-integrations/next@1.3.0 Transitive: environment, filesystem, network, shell, unsafe +13 1.11 GB martinnabhan
npm/@babel/types@7.18.0 environment 0 1.05 MB nicolo-ribaudo
npm/@faker-js/faker@7.6.0 None 0 9.35 MB shinigami92
npm/@formatjs/intl-localematcher@0.2.32 None 0 37.2 kB pyrocat
npm/@graphql-tools/schema@9.0.19 None +4 698 kB ardatan
npm/@hapi/iron@6.0.0 None +5 120 kB hueniverse
npm/@mdx-js/react@2.3.0 None +1 24.4 kB wooorm
npm/@next/bundle-analyzer@12.3.4 Transitive: environment, filesystem, network, shell +9 2.16 MB vercel-release-bot
npm/@next/font@13.1.1 None 0 2.38 MB vercel-release-bot
npm/@next/mdx@13.5.6 Transitive: filesystem, network +1 236 kB vercel-release-bot
npm/@stytch/stytch-react@3.0.7 environment +1 73.9 kB nathan-stytch
npm/@szmarczak/http-timer@5.0.1 None +1 15.6 kB szmarczak
npm/@types/cors@2.8.17 None 0 5.91 kB types
npm/@types/negotiator@0.6.1 None 0 5.33 kB types
npm/@types/node@18.11.18 None 0 3.58 MB types
npm/@types/node@18.19.34 None +1 2.04 MB types
npm/@types/react-dom@18.0.10 None 0 28.9 kB types
npm/@types/react-dom@18.3.0 None 0 37.8 kB types
npm/@types/react@17.0.37 None 0 177 kB types
npm/@types/react@18.0.26 None +1 184 kB types
npm/@types/react@18.3.3 None +1 1.68 MB types
npm/@types/uuid@8.3.4 None 0 6.67 kB types
npm/asciichart@1.5.25 None 0 39.8 kB x84
npm/async-sema@3.1.1 None 0 13.5 kB leerobinson
npm/cross-env@7.0.3 environment Transitive: filesystem, shell +4 65.4 kB kentcdodds
npm/dotenv@10.0.0 environment, filesystem 0 24.9 kB motdotla
npm/downsample-lttb@0.0.1 None 0 5.54 kB pingec
npm/eslint-config-next@13.1.1 unsafe Transitive: environment, eval, filesystem +49 10 MB vercel-release-bot
npm/eslint@8.31.0 filesystem Transitive: environment, unsafe +27 6.22 MB eslintbot
npm/fs-extra@10.0.0 None +1 136 kB ryanzim
npm/fs-extra@8.1.0 filesystem +2 149 kB ryanzim
npm/graphql-yoga@3.9.1 Transitive: filesystem, network +26 11.3 MB dotansimha
npm/graphql@16.6.0 environment 0 1.34 MB i1g
npm/listr2@5.0.5 environment +16 4.78 MB cenk1cenk2
npm/next@13.1.1 environment, filesystem, network, shell, unsafe +15 1.14 GB vercel-release-bot
npm/next@14.2.4 environment, filesystem, network, shell, unsafe +16 1.19 GB vercel-release-bot
npm/p-queue@7.3.0 None +1 55.8 kB sindresorhus
npm/prettier@1.19.1 environment, eval, filesystem, unsafe 0 9.57 MB lydell
npm/pretty-ms@5.1.0 None 0 11.7 kB sindresorhus
npm/pretty-ms@7.0.1 None 0 12 kB sindresorhus
npm/recursive-copy@2.0.11 Transitive: filesystem +20 135 kB timkendrick
npm/semver@7.3.4 None +2 116 kB isaacs
npm/serve@13.0.4 Transitive: environment, filesystem, network, shell +50 2.04 MB leerobinson
npm/term-size@3.0.2 environment 0 50.2 kB sindresorhus
npm/typescript@4.9.4 None 0 66.8 MB typescript-bot
npm/uuid@8.1.0 None 0 95.2 kB ctavan
npm/webpack-stats-plugin@1.1.3 None 0 17.9 kB formidablelabs

🚮 Removed packages: npm/@babel/eslint-parser@7.18.2, npm/@edge-runtime/primitives@2.0.0, npm/@replayio/playwright@0.2.26, npm/@swc/cli@0.1.55, npm/@testing-library/react@13.0.0, npm/@vercel/fetch@6.1.1, npm/@zeit/next-typescript@1.1.2-canary.0, npm/alex@9.1.0, npm/amphtml-validator@1.0.35, npm/cheerio@0.22.0, npm/classnames@2.5.1, npm/coveralls@3.0.3, npm/critters@0.0.6, npm/date-fns@2.30.0, npm/dd-trace@2.3.0, npm/empty-npm-package@1.0.0, npm/eslint-plugin-eslint-plugin@4.3.0, npm/eslint-plugin-jsdoc@39.6.4, npm/event-stream@4.0.1, npm/expect-type@0.14.2, npm/faker@5.5.3, npm/faunadb@2.6.1, npm/firebase@7.14.5, npm/html-validator@5.1.18, npm/husky@8.0.0, npm/is-animated@2.0.2, npm/jest-extended@1.2.1, npm/ky-universal@0.6.0, npm/ky@0.19.1, npm/lerna@4.0.0, npm/lint-staged@10.1.7, npm/lost@8.3.1, npm/nprogress@0.2.0, npm/playwright-chromium@1.28.1, npm/plop@3.0.5, npm/postcss-short-size@4.0.0, npm/postcss-trolling@0.1.7, npm/react-server-dom-webpack@18.3.0-next-3ba7add60-20221201, npm/react-virtualized@9.22.3, npm/relay-compiler@13.0.2, npm/release@6.3.1, npm/seedrandom@3.0.5, npm/selenium-webdriver@4.0.0-beta.4, npm/styled-jsx-plugin-postcss@3.0.2, npm/taskr@1.1.0, npm/tree-kill@1.2.2, npm/tsec@0.2.1, npm/turbo@1.6.3, npm/wait-port@0.2.2

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/@apollo/protobufjs@1.2.7
  • Install script: postinstall
  • Source: node scripts/postinstall
Telemetry npm/next@13.1.1
  • Note: Can be disabled by setting the environment variable NEXT_TELEMETRY_DISABLED=1 . See https://nextjs.org/telemetry for more information
Telemetry npm/next@13.5.6
  • Note: Can be disabled by setting the environment variable NEXT_TELEMETRY_DISABLED=1 . See https://nextjs.org/telemetry for more information
Install scripts npm/nextjs-project@0.0.0
  • Install script: postinstall
  • Source: git config feature.manyFiles true && node scripts/install-native.mjs
  • orphan: npm/nextjs-project@0.0.0
Telemetry npm/next@14.2.4
  • Note: Can be disabled by setting the environment variable NEXT_TELEMETRY_DISABLED=1 . See https://nextjs.org/telemetry for more information

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.

What is telemetry?

This package contains telemetry which tracks how it is used.

Most telemetry comes with settings to disable it. Consider disabling telemetry if you do not want to be tracked.

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/@apollo/protobufjs@1.2.7
  • @SocketSecurity ignore npm/next@13.1.1
  • @SocketSecurity ignore npm/next@13.5.6
  • @SocketSecurity ignore npm/nextjs-project@0.0.0
  • @SocketSecurity ignore npm/next@14.2.4

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.

2 participants