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 2 vulnerabilities #782

Open
wants to merge 1 commit into
base: master
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 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:
    • standalone-packages/vscode-extensions/out/extensions/ms-vscode.references-view/package.json

Vulnerabilities that will be fixed

With an upgrade:
Severity Priority Score (*) Issue Breaking Change Exploit Maturity
high severity 661/1000
Why? Recently disclosed, Has a fix available, CVSS 7.5
Uncontrolled resource consumption
SNYK-JS-BRACES-6838727
Yes No Known Exploit
high severity 661/1000
Why? Recently disclosed, Has a fix available, CVSS 7.5
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: webpack The new version differs by 250 commits.
  • 610f368 5.0.0
  • 5ce65c1 update examples
  • bbe1230 Merge pull request #11628 from webpack/bugfix/real-content-hash
  • 75ecff2 5.0.0-rc.6
  • bfc35d6 Merge pull request #11603 from MayaWolf/master
  • 76e8cbd Merge pull request #11622 from webpack/dependabot/npm_and_yarn/types/node-13.13.25
  • 9fd1be2 chore(deps-dev): bump @ types/node from 13.13.23 to 13.13.25
  • 36bcfaa Merge pull request #11621 from webpack/bugfix/11619
  • 9130d10 fix called variables with ProvidePlugin
  • 3e42105 Merge pull request #11620 from webpack/bugfix/11617
  • 4709719 skip connections copied to concatenated module
  • 57b493f 5.0.0-rc.5
  • 1658e2f Merge pull request #11618 from webpack/bugfix/11615
  • a8fb45d fixes crash in SideEffectsFlagPlugin
  • 84b196d emit error instead of crashing when unexpected problem occurs
  • 5573fed Merge pull request #11601 from Hornwitser/improve-suggested-polyfill-config
  • 9b5cce9 Merge pull request #11609 from snitin315/export-types
  • 37c495c export type RuleSetUseItem
  • 39faf34 export type RuleSetUse
  • e5fd246 export type RuleSetConditionAbsolute
  • 660baad export RuleSetCondition types
  • 13e3ca5 Merge pull request #11602 from webpack/bugfix/shared-runtime-chunk
  • 9c0587e Merge pull request #11606 from webpack/dependabot/npm_and_yarn/simple-git-2.21.0
  • 502d166 Merge pull request #11607 from webpack/dependabot/npm_and_yarn/acorn-8.0.4

See the full diff

Package name: webpack-cli 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

…eferences-view/package.json to reduce vulnerabilities

The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-BRACES-6838727
- https://snyk.io/vuln/SNYK-JS-MICROMATCH-6838728
Copy link

google-cla bot commented May 16, 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/code-frame@7.10.4 Transitive: environment +4 73.9 kB jlhwung
npm/@babel/parser@7.10.5 None 0 1.41 MB jlhwung
npm/@babel/traverse@7.10.5 environment +7 389 kB jlhwung
npm/@babel/types@7.10.5 environment +1 742 kB jlhwung
npm/@prettier/plugin-pug@1.6.1 environment +4 285 kB shinigami92
npm/@starptech/prettyhtml@0.10.0 Transitive: environment, eval, filesystem, unsafe +40 10.1 MB starptech
npm/@types/eslint-scope@3.7.0 None +1 22.1 kB types
npm/@types/eslint-visitor-keys@1.0.0 None 0 2.89 kB types
npm/@types/eslint@7.2.2 None +1 151 kB types
npm/@types/glob@7.1.3 None 0 6.13 kB types
npm/@types/js-beautify@1.11.0 None 0 5.77 kB types
npm/@types/json-schema@7.0.5 None 0 30.6 kB types
npm/@types/lodash@4.14.161 None 0 858 kB types
npm/@types/mocha@8.0.3 None 0 91.2 kB types
npm/@types/node@14.11.1 None 0 716 kB types
npm/@types/prettier@2.1.1 None 0 23 kB types
npm/@types/read-pkg-up@6.0.0 None 0 1.76 kB types
npm/@types/resolve@1.17.1 None 0 7.69 kB types
npm/@types/unist@2.0.3 None 0 5.23 kB types
npm/acorn@7.4.0 None 0 1.12 MB marijn
npm/ajv@6.12.0 eval +2 953 kB esp
npm/ansi-colors@4.1.1 environment 0 24.4 kB jonschlinkert
npm/anymatch@3.1.1 None 0 9.44 kB paulmillr
npm/bootstrap-vue-helper-json@1.1.1 None 0 92.8 kB alexsasharegan
npm/braces@3.0.2 None +1 65.6 kB doowb
npm/ccount@1.0.4 None 0 4.38 kB wooorm
npm/chalk@4.1.0 None +6 101 kB sindresorhus
npm/codecov@3.7.2 environment, filesystem, shell +2 112 kB thomasrockhu
npm/collapse-white-space@1.0.5 None 0 4.31 kB wooorm
npm/commander@2.19.0 filesystem, shell 0 61.4 kB abetomo
npm/core-js@3.6.5 environment, eval, filesystem 0 664 kB slowcheetah
npm/cross-spawn@7.0.3 environment, filesystem, shell +1 25.8 kB satazor
npm/debug@4.1.1 environment 0 81.5 kB qix
npm/decamelize-keys@1.1.0 None +1 6.49 kB dsblv
npm/deep-is@0.1.3 None 0 8.22 kB thlorenz
npm/define-properties@1.1.3 None 0 23 kB ljharb
npm/element-helper-json@2.0.6 None 0 63.1 kB iamkun
npm/es-abstract@1.17.6 eval +5 1.05 MB ljharb
npm/eslint-plugin-vue@7.0.0-beta.3 None +1 743 kB ota-meshi
npm/eslint-scope@5.1.0 None +1 91.4 kB eslintbot
npm/eslint-utils@2.1.0 None 0 342 kB mysticatea
npm/eslint-visitor-keys@1.3.0 None 0 23.7 kB eslintbot
npm/eslint@7.9.0 filesystem, unsafe Transitive: environment, eval +26 5.35 MB eslintbot
npm/esquery@1.3.1 None +1 742 kB michaelficarra
npm/estraverse@4.2.0 None 0 33 kB nzakas
npm/fast-levenshtein@2.0.6 None 0 9.44 kB hiddentao
npm/find-up@2.1.0 Transitive: filesystem +5 23.9 kB sindresorhus
npm/fsevents@2.1.3 None 0 44.9 kB paulmillr
npm/glob-parent@5.1.1 None 0 7.61 kB phated
npm/glob@7.1.6 filesystem 0 56.1 kB isaacs
npm/graceful-fs@4.1.15 environment, filesystem 0 25.9 kB isaacs
npm/gridsome-helper-json@1.0.3 None 0 10.8 kB hjvedvik
npm/has-symbols@1.0.1 None 0 15.5 kB ljharb
npm/has@1.0.3 None +1 27.9 kB ljharb
npm/hast-util-has-property@1.0.3 None 0 6.35 kB wooorm
npm/hast-util-is-element@1.0.3 None 0 6.94 kB wooorm
npm/ini@1.3.5 None 0 8.93 kB isaacs
npm/is-binary-path@2.1.0 None +1 8.15 kB sindresorhus
npm/is-callable@1.2.0 None 0 19.9 kB ljharb
npm/is-decimal@1.0.3 None 0 4.61 kB wooorm
npm/is-descriptor@1.0.2 None +2 27.2 kB jonschlinkert
npm/is-glob@4.0.1 None 0 11.3 kB phated
npm/is-hidden@1.1.2 None 0 4.16 kB wooorm
npm/is-regex@1.1.0 None 0 26.2 kB ljharb
npm/is-string@1.0.5 None 0 15.7 kB ljharb
npm/istanbul-lib-coverage@3.0.0 None 0 25.3 kB coreyfarrell
npm/js-beautify@1.13.0 Transitive: environment, filesystem, network +5 1.13 MB bitwiseman
npm/js-yaml@3.13.1 eval Transitive: environment, filesystem +2 714 kB vitaly
npm/json5@2.1.3 None 0 236 kB jordanbtucker
npm/kind-of@6.0.2 None 0 22.5 kB jonschlinkert
npm/levn@0.4.1 None +1 61.7 kB gkz
npm/lodash.assign@4.2.0 None 0 19.9 kB jdalton
npm/lodash@4.17.20 None 0 1.41 MB bnjmnt4n
npm/make-dir@3.1.0 filesystem 0 10 kB sindresorhus
npm/mimic-response@1.0.1 None 0 3.58 kB sindresorhus
npm/minimist@1.2.5 None 0 32.4 kB substack
npm/mkdirp@1.0.4 environment, filesystem 0 19.1 kB isaacs
npm/mocha@8.1.3 environment, eval, filesystem Transitive: shell +30 4.3 MB boneskull
npm/node-fetch@2.6.0 network 0 156 kB bitinn
npm/nuxt-helper-json@1.0.0 None 0 3.85 kB pi0
npm/nyc@15.1.0 environment, filesystem, unsafe Transitive: shell +61 1.75 MB coreyfarrell
npm/object.assign@4.1.0 None +1 71.5 kB ljharb
npm/parse-gitignore@1.0.1 None 0 7.98 kB jonschlinkert
npm/picomatch@2.2.1 None 0 92.5 kB jonschlinkert
npm/prettier-eslint@11.0.0 environment, filesystem Transitive: shell, unsafe +53 62 MB zimme
npm/prettier-tslint@0.4.2 filesystem Transitive: environment, network, shell, unsafe +62 55.3 MB azz
npm/prettier@2.1.2 environment, eval, filesystem, unsafe 0 9.08 MB sosukesuzuki
npm/read-pkg-up@7.0.1 Transitive: filesystem +7 68.1 kB sindresorhus
npm/readdirp@3.4.0 filesystem 0 19.6 kB paulmillr
npm/resolve@1.17.0 filesystem +1 114 kB ljharb

🚮 Removed packages: npm/@astrojs/language-server@0.13.2, npm/@astrojs/ts-plugin@0.2.1, npm/@emmetio/html-matcher@0.3.3, npm/@types/glob@7.2.0, npm/@types/mocha@2.2.33, npm/@types/mocha@2.2.48, npm/@types/node@10.17.60, npm/@types/node@6.14.13, npm/@types/node@8.0.33, npm/glob@7.2.3, npm/image-size@0.5.5, npm/js-yaml@3.14.1, npm/jsonc-parser@2.0.2, npm/mocha@3.5.3, npm/nodemon@1.19.4, npm/tinycolor2@1.6.0, npm/toml@2.3.6, npm/typescript@2.5.2, npm/vscode-css-languageservice@3.0.13, npm/vscode-languageclient@2.6.3, npm/vscode-languageclient@5.2.1, npm/vscode-languageclient@7.0.0, npm/vscode-languageserver@2.6.2, npm/vscode-languageserver@5.2.1, npm/vscode-nls@4.1.2, npm/vscode@1.1.37

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.6.5
  • 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/core-js@3.6.5

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