Skip to content

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:
    • examples/browser-webpack/package.json

Vulnerabilities that will be fixed

With an upgrade:
Severity Priority Score (*) Issue Breaking Change Exploit Maturity
medium severity 658/1000
Why? Proof of Concept exploit, Recently disclosed, Has a fix available, CVSS 5.3
Regular Expression Denial of Service (ReDoS)
SNYK-JS-SEMVER-3247795
Yes Proof of Concept

(*) 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.
  • 213226e 4.0.0
  • fde0183 Merge pull request #6081 from webpack/formating/prettier
  • b6396e7 update stats
  • f32bd41 fix linting
  • 5238159 run prettier on existing code
  • 518d1e0 replace js-beautify with prettier
  • 4c25bfb 4.0.0-beta.3
  • dd93716 Merge pull request #6296 from shellscape/fix/hmr-before-node-stuff
  • 7a07901 Merge pull request #6563 from webpack/performance/assign-depth
  • c7eb895 Merge pull request #6452 from webpack/update_acorn
  • 9179980 Merge pull request #6551 from nveenjain/fix/templatemd
  • e52f323 optimize performance of assignDepth
  • 6bf5df5 Fixed template.md
  • 90ab23a Merge branch 'master' into fix/hmr-before-node-stuff
  • b0949cb add integration test for spread operator
  • 39438c7 unittest now also walks the ast
  • 15ab027 Merge pull request #6536 from jevan0307/sideEffects-selectors
  • 1611ce1 Merge pull request #6561 from joshunger/patch-1
  • 6e175bc Merge pull request #6549 from webpack/md4_hash
  • 0637531 Add a hyperlink to create a new issue
  • 0e1f9c6 Merge pull request #6554 from webpack/deps/end-of-beta
  • 72477f4 upgrade versions to stable versions
  • ed30285 Merge pull request #6546 from webpack/bot/review-permission
  • 40ee8c7 Use MD4 for hashing

See the full diff

Package name: webpack-dev-server The new version differs by 250 commits.
  • c5b9c7e chore(release): 4.6.0
  • 1ba9720 fix: reload on warnings (#4056)
  • 5026601 feat: allow to pass all `chokidar` options (#4025)
  • 7e78bfa chore(deps-dev): bump webpack from 5.64.2 to 5.64.3 (#4054)
  • f2a7d16 chore(deps-dev): bump memfs from 3.3.0 to 3.4.0 (#4055)
  • d104b58 chore: remove redundant `eslint-disable` comments (#4053)
  • e6330f5 chore: remove redundant snapshots (#4052)
  • cf26a3f chore(deps): bump ws from 8.2.3 to 8.3.0 (#4051)
  • 7823237 chore(deps-dev): bump lint-staged from 12.1.1 to 12.1.2 (#4048)
  • 9b32c96 fix: reconnection logic (#4044)
  • 5e7c001 chore(deps-dev): bump eslint from 8.2.0 to 8.3.0 (#4045)
  • 12d6d52 chore(deps-dev): bump lint-staged from 12.0.2 to 12.1.1 (#4047)
  • 7ed2ba3 chore(deps-dev): bump webpack from 5.64.1 to 5.64.2 (#4046)
  • b497f68 docs: fix typo (#4042)
  • 285487f chore(deps): remove unused (#4036)
  • a19ee71 chore(deps-dev): bump acorn from 8.5.0 to 8.6.0 (#4040)
  • 497e615 chore(deps): bump webpack-dev-middleware
  • ec882db chore(deps-dev): bump typescript from 4.4.4 to 4.5.2 (#4034)
  • 7d117de chore: update dependencies (#4033)
  • a5b1c70 chore: update `schema-utils` (#4032)
  • d3be607 chore(deps): bump @ babel/preset-env from 7.16.0 to 7.16.4 (#4030)
  • 25bace8 chore(deps): bump @ babel/plugin-transform-runtime (#4031)
  • 6a5b58d docs: fix `--https` option alignment (#4028)
  • fd8c54a chore: remove redundant `eslint-disable` comments (#4024)

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:

🦉 Regular Expression Denial of Service (ReDoS)

@google-cla
Copy link

google-cla bot commented Jun 21, 2023

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.

@socket-security
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.

Issue Package Version Note Source
Network access webpack-dev-server 4.15.1 examples/browser-webpack/package.json
Network access default-gateway 6.0.3 examples/browser-webpack/package.json via [email protected]
Network access bonjour-service 1.1.1 examples/browser-webpack/package.json via [email protected]
Network access http-proxy-middleware 2.0.6 examples/browser-webpack/package.json via [email protected]

Next steps

What is network access?

This module accesses the network.

Packages should remove all network access that is functionally unnecessary. Consumers should audit network access to ensure legitimate use.

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 package-name@version specifiers. e.g. @SocketSecurity ignore [email protected] bar@* or ignore all packages with @SocketSecurity ignore-all

@socket-security
Copy link

New and updated dependency changes detected. Learn more about Socket for GitHub ↗︎

Packages Version New capabilities Transitives1 Size Publisher
webpack-dev-server ⬆️ 2.11.5...4.15.1 eval, shell, environment +48/-29 4.85 MB evilebottnawi

🚮 Removed packages: [email protected]

Footnotes

  1. https://docs.socket.dev

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

Successfully merging this pull request may close these issues.

2 participants