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 firebase-admin from 9.12.0 to 11.1.0 #837

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

Conversation

adamlaska
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-firebase/package.json

Vulnerabilities that will be fixed with an upgrade:

Issue Score
medium severity Uncontrolled Resource Consumption
SNYK-JS-GRPCGRPCJS-7242922
  551  

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:

🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.

Copy link

google-cla bot commented Jun 11, 2024

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

Copy link

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

Package New capabilities Transitives Size Publisher
npm/@babel/plugin-syntax-bigint@7.8.3 None +1 129 kB nicolo-ribaudo
npm/commander@2.20.3 filesystem, shell 0 62.4 kB abetomo
npm/deepmerge@4.2.2 None 0 30.1 kB tehshrike
npm/events@3.3.0 None 0 82.8 kB goto-bus-stop
npm/neo-async@2.6.2 None 0 298 kB suguru03
npm/p-limit@2.3.0 None +1 11.8 kB sindresorhus
npm/prompts@2.4.2 None +2 203 kB terkelg
npm/regenerator-runtime@0.14.1 None 0 27.9 kB benjamn
npm/swr@1.3.0 None 0 231 kB quietshu

🚮 Removed packages: npm/@babel/code-frame@7.24.7, npm/@babel/parser@7.12.11, npm/@babel/plugin-syntax-jsx@7.24.7, npm/@babel/preset-env@7.24.7, npm/@babel/preset-react@7.14.5, npm/@babel/traverse@7.24.7, npm/@babel/types@7.24.7, npm/@edge-runtime/primitives@1.1.0, npm/@typescript-eslint/parser@4.29.1, npm/abort-controller@3.0.0, npm/async-sema@3.0.1, npm/browserslist@4.20.2, npm/chalk@5.0.1, npm/cookie@0.4.1, npm/cross-env@6.0.3, npm/cross-spawn@6.0.5, npm/deepmerge@4.3.1, npm/eslint-import-resolver-node@0.3.9, npm/eslint-plugin-import@2.22.1, npm/eslint-plugin-react-hooks@4.5.0, npm/execa@2.0.3, npm/fs-extra@9.0.0, npm/get-port@5.1.1, npm/glob@7.1.6, npm/globby@11.1.0, npm/gzip-size@5.1.1, npm/image-size@0.9.3, npm/isomorphic-unfetch@3.0.0, npm/jest-worker@27.5.1, npm/nanoid@3.1.30, npm/postcss-nested@4.2.1, npm/prettier@2.5.1, npm/pretty-bytes@5.3.0, npm/pretty-ms@7.0.0, npm/random-seed@0.3.0, npm/react-dom@0.0.0-experimental-7028ce745-20220907, npm/react-dom@17.0.2, npm/react-dom@18.2.0, npm/react@18.2.0, npm/rimraf@3.0.2, npm/sass@1.54.0, npm/semver@7.3.7, npm/shell-quote@1.7.3, npm/styled-components@5.3.3, npm/tailwindcss@1.1.3, npm/typescript@4.8.2, npm/unfetch@4.2.0, npm/webpack@5.74.0

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-pure@3.37.1
  • Install script: postinstall
  • Source: node -e "try{require('./postinstall')}catch(e){}"
  • orphan: npm/core-js-pure@3.37.1
Install scripts npm/@datadog/pprof@0.3.0
  • Install script: preinstall
  • Source: node scripts/preinstall.js
Install scripts npm/@datadog/native-appsec@0.8.1
  • Install script: install
  • Source: node bin/appsec-reinstall.js
Install scripts npm/nextjs-project@0.0.0
  • Install script: postinstall
  • Source: git config feature.manyFiles true && node scripts/install-native.mjs

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-pure@3.37.1
  • @SocketSecurity ignore npm/@datadog/pprof@0.3.0
  • @SocketSecurity ignore npm/@datadog/native-appsec@0.8.1
  • @SocketSecurity ignore npm/nextjs-project@0.0.0

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