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 jest from 27.3.1 to 29.0.0 #132

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

Conversation

matrix-compute
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:
    • superset-websocket/package.json

Vulnerabilities that will be fixed

With an upgrade:
Severity Priority Score (*) Issue Breaking Change Exploit Maturity
high severity 125/1000
Why? Confidentiality impact: None, Integrity impact: None, Availability impact: High, Scope: Unchanged, Exploit Maturity: No data, User Interaction (UI): None, Privileges Required (PR): None, Attack Complexity: Low, Attack Vector: Network, EPSS: 0.01055, Social Trends: No, Days since published: 0, Reachable: No, Transitive dependency: Yes, Is Malicious: No, Business Criticality: High, Provider Urgency: High, Package Popularity Score: 99, Impact: 5.99, Likelihood: 2.08, Score Version: V5
Uncontrolled resource consumption
SNYK-JS-BRACES-6838727
Yes No Known Exploit
high severity 125/1000
Why? Confidentiality impact: None, Integrity impact: None, Availability impact: High, Scope: Unchanged, Exploit Maturity: No data, User Interaction (UI): None, Privileges Required (PR): None, Attack Complexity: Low, Attack Vector: Network, EPSS: 0.01055, Social Trends: No, Days since published: 0, Reachable: No, Transitive dependency: Yes, Is Malicious: No, Business Criticality: High, Provider Urgency: High, Package Popularity Score: 99, Impact: 5.99, Likelihood: 2.08, Score Version: V5
Inefficient Regular Expression Complexity
SNYK-JS-MICROMATCH-6838728
Yes No Known Exploit

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

Commit messages
Package name: jest The new version differs by 250 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:

🦉 Uncontrolled resource consumption

Copy link

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

Package New capabilities Transitives Size Publisher
npm/babel-plugin-polyfill-corejs3@0.6.0 None 0 170 kB nicolo-ribaudo
npm/babel-plugin-polyfill-regenerator@0.4.1 None 0 8.65 kB nicolo-ribaudo
npm/base64-js@1.5.1 None 0 9.62 kB feross
npm/boolbase@1.0.0 None 0 1.33 kB feedic
npm/browserslist@4.21.5 environment, filesystem +2 305 kB ai
npm/buffer@6.0.3 None +1 98.1 kB feross
npm/call-bind@1.0.2 None +1 39.9 kB ljharb
npm/caniuse-lite@1.0.30001466 None 0 1.93 MB caniuse-lite
npm/chalk@4.1.2 None +5 97.4 kB sindresorhus
npm/chokidar@3.5.3 environment, filesystem +4 264 kB paulmillr
npm/classnames@2.3.1 None 0 17.7 kB dcousens
npm/clean-css@5.3.2 environment, filesystem, network +1 1.3 MB jakub.pawlowicz
npm/clsx@1.1.1 None 0 6.28 kB lukeed
npm/commander@5.1.0 filesystem, shell 0 107 kB abetomo
npm/copy-to-clipboard@3.3.1 None 0 85 kB sudodoki
npm/core-js-compat@3.29.1 None 0 658 kB zloirock
npm/core-js-pure@3.29.1 environment, eval, filesystem 0 993 kB zloirock
npm/cosmiconfig@7.0.1 filesystem +5 119 kB davidtheclark
npm/cross-fetch@3.1.5 network +1 226 kB lquixada
npm/cssnano@5.1.15 Transitive: filesystem +4 199 kB ludovicofischer
npm/csso@4.2.0 None +2 2.14 MB lahmatiy
npm/d@1.0.1 None 0 22.8 kB medikoo
npm/debug@4.3.2 environment 0 41.3 kB qix
npm/deep-extend@0.6.0 None 0 9.19 kB unclechu
npm/docusaurus-plugin-less@2.0.2 environment 0 5.1 kB nonoroazoro
npm/domelementtype@2.3.0 None 0 11.4 kB feedic
npm/domhandler@5.0.3 None 0 75.3 kB feedic
npm/domutils@3.0.1 network +2 537 kB feedic
npm/es-abstract@1.19.1 None +11 1.34 MB ljharb
npm/es5-ext@0.10.53 eval +1 523 kB medikoo
npm/es6-iterator@2.0.3 None 0 29.7 kB medikoo
npm/es6-symbol@3.1.3 None +2 122 kB medikoo
npm/escape-html@1.0.3 None 0 3.66 kB dougwilson
npm/file-loader@6.2.0 Transitive: eval +8 1.3 MB evilebottnawi
npm/follow-redirects@1.14.9 network 0 26.6 kB rubenverborgh
npm/get-intrinsic@1.1.3 eval +3 85.7 kB ljharb
npm/glob@7.2.0 filesystem Transitive: environment +6 130 kB isaacs
npm/graceful-fs@4.2.9 environment, filesystem 0 31.6 kB isaacs
npm/has-symbols@1.0.2 None 0 18.1 kB ljharb
npm/highlight.js@10.7.3 None 0 1.71 MB highlightjs_bot
npm/hoist-non-react-statics@3.3.2 None 0 38.9 kB mridgway
npm/html-minifier-terser@6.1.0 Transitive: environment, filesystem, shell +7 453 kB sibiraj-s
npm/icss-utils@5.1.0 None 0 10 kB evilebottnawi
npm/ignore@5.2.0 None 0 48.9 kB kael
npm/ini@1.3.8 None 0 9.3 kB isaacs
npm/invariant@2.2.4 None 0 7.64 kB zertosh
npm/is-alphabetical@1.0.4 None 0 5.01 kB wooorm
npm/is-callable@1.2.4 None 0 20.1 kB ljharb
npm/is-docker@2.2.1 filesystem 0 3.01 kB sindresorhus
npm/is-string@1.0.7 None +1 30 kB ljharb
npm/is-symbol@1.0.4 None 0 22 kB ljharb
npm/json-parse-even-better-errors@2.3.1 None 0 10.4 kB isaacs
npm/kind-of@6.0.3 None 0 22.8 kB doowb
npm/klona@2.0.5 None 0 23 kB lukeed
npm/less-loader@11.1.0 None 0 32.2 kB evilebottnawi
npm/less@4.1.3 eval, filesystem Transitive: environment, network +9 3.57 MB matthew-dean
npm/lodash.debounce@4.0.8 None 0 14 kB jdalton
npm/lodash.uniq@4.5.0 None 0 25 kB jdalton
npm/loose-envify@1.4.0 environment 0 5.81 kB zertosh
npm/lowercase-keys@1.0.1 None 0 2.46 kB sindresorhus
npm/micromatch@4.0.5 None +1 146 kB jonschlinkert
npm/mime-types@2.1.18 None +1 183 kB dougwilson
npm/mime@1.6.0 environment, filesystem 0 51.7 kB broofa
npm/mimic-response@1.0.1 None 0 3.58 kB sindresorhus
npm/minimist@1.2.6 None 0 33.2 kB substack
npm/moment@2.29.4 None 0 4.23 MB ichernev
npm/next-tick@1.1.0 None 0 7.65 kB medikoo
npm/nth-check@2.1.1 None 0 42.6 kB feedic
npm/object-assign@4.1.1 None 0 5.49 kB sindresorhus
npm/object-inspect@1.11.0 None 0 56.1 kB ljharb
npm/object-keys@1.1.1 None 0 26.5 kB ljharb
npm/object.assign@4.1.2 None +1 85.4 kB ljharb
npm/obuf@1.1.2 None 0 19.1 kB indutny
npm/open@8.4.0 environment, filesystem, shell +2 54.6 kB sindresorhus

🚮 Removed packages: npm/@types/cookie@0.6.0, npm/@types/ioredis@4.28.0, npm/@types/jest@27.0.2, npm/@types/jsonwebtoken@9.0.5, npm/@types/lodash@4.14.202, npm/@types/node@20.10.4, npm/@types/uuid@9.0.7, npm/@types/ws@8.5.10, npm/@typescript-eslint/eslint-plugin@5.61.0, npm/@typescript-eslint/parser@5.62.0, npm/cookie@0.6.0, npm/eslint-config-prettier@9.1.0, npm/eslint@8.55.0, npm/hot-shots@10.0.0, npm/ioredis@4.28.5, npm/jest@27.3.1, npm/jsonwebtoken@9.0.2, npm/prettier@3.0.3, npm/ts-jest@27.0.7, npm/ts-node@10.9.2, npm/typescript@4.9.5, npm/uuid@9.0.1, npm/winston@3.11.0, npm/ws@8.15.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@3.29.1
  • Install script: postinstall
  • Source: node -e "try{require('./postinstall')}catch(e){}"
Install scripts npm/core-js-pure@3.29.1
  • Install script: postinstall
  • Source: node -e "try{require('./postinstall')}catch(e){}"
Protestware/Troll package npm/es5-ext@0.10.53
  • Note: This package prints a protestware console message on install regarding Ukraine for users with Russian language locale

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 protestware?

This package is a joke, parody, or includes undocumented or hidden behavior unrelated to its primary function.

Consider that consuming this package my come along with functionality unrelated to its primary purpose.

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@3.29.1
  • @SocketSecurity ignore npm/core-js-pure@3.29.1
  • @SocketSecurity ignore npm/es5-ext@0.10.53

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