builder
builder copied to clipboard
chore(deps): bump ws from 8.16.0 to 8.17.1 in /examples/vue/nuxt-3-catchall
Bumps ws from 8.16.0 to 8.17.1.
Release notes
Sourced from ws's releases.
8.17.1
Bug fixes
- Fixed a DoS vulnerability (#2231).
A request with a number of headers exceeding the[
server.maxHeadersCount][] threshold could be used to crash a ws server.const http = require('http'); const WebSocket = require('ws');const wss = new WebSocket.Server({ port: 0 }, function () { const chars = "!#$%&'*+-.0123456789abcdefghijklmnopqrstuvwxyz^_`|~".split(''); const headers = {}; let count = 0;
for (let i = 0; i < chars.length; i++) { if (count === 2000) break;
for (let j = 0; j < chars.length; j++) { const key = chars[i] + chars[j]; headers[key] = 'x';if (++count === 2000) break; }
}
headers.Connection = 'Upgrade'; headers.Upgrade = 'websocket'; headers['Sec-WebSocket-Key'] = 'dGhlIHNhbXBsZSBub25jZQ=='; headers['Sec-WebSocket-Version'] = '13';
const request = http.request({ headers: headers, host: '127.0.0.1', port: wss.address().port });
request.end(); });
The vulnerability was reported by Ryan LaPointe in websockets/ws#2230.
In vulnerable versions of ws, the issue can be mitigated in the following ways:
- Reduce the maximum allowed length of the request headers using the [
--max-http-header-size=size][] and/or the [maxHeaderSize][] options so that no more headers than theserver.maxHeadersCountlimit can be sent.
... (truncated)
Commits
3c56601[dist] 8.17.1e55e510[security] Fix crash when the Upgrade header cannot be read (#2231)6a00029[test] Increase code coverageddfe4a8[perf] Reduce the amount ofcrypto.randomFillSync()callsb73b118[dist] 8.17.029694a5[test] Use thehighWaterMarkvariable934c9d6[ci] Test on node 221817bac[ci] Do not test on node 2196c9b3d[major] Flip the default value ofallowSynchronousEvents(#2221)e5f32c7[fix] Emit at most one event per event loop iteration (#2218)- Additional commits viewable in compare view
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the Security Alerts page.
Note Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| nextjs-app-router-example | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jun 19, 2024 0:43am |
| nextjs-pages-router-example | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jun 19, 2024 0:43am |
| qwik-city-sdk-example | 🔄 Building (Inspect) | Visit Preview | 💬 Add feedback | Jun 19, 2024 0:43am |
| remix-gen2-example | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jun 19, 2024 0:43am |
| svelte-vite-example | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jun 19, 2024 0:43am |
⚠️ No Changeset found
Latest commit: fd8d0e8af4cbe3babe8e0101c6c3fcf6eda95a64
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
This PR includes no changesets
When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
☁️ Nx Cloud Report
CI is running/has finished running commands for commit fd8d0e8af4cbe3babe8e0101c6c3fcf6eda95a64. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.
📂 See all runs for this CI Pipeline Execution
| 🟥 Failed Commands |
|---|
nx test @e2e/angular-ssr |
✅ Successfully ran 34 targets
nx test @e2e/qwik-citynx test @e2e/vuenx test @e2e/nuxtnx test @e2e/solidnx test @e2e/sveltekitnx test @e2e/sveltenx test @e2e/angularnx test @e2e/remixnx test @e2e/reactnx test @e2e/solid-startnx test @e2e/next-pages-dirnx test @e2e/react-nativenx test @e2e/next-app-dir-clientnx test @e2e/next-app-dirnx test @e2e/gen1-reactnx test @e2e/gen1-remixnx test @e2e/hydrogennx test @snippet/react-nativenx test @snippet/angular-ssrnx test @e2e/gen1-nextnx test @snippet/next-app-dirnx test @snippet/sveltekitnx test @snippet/nuxtnx test @snippet/sveltenx test @snippet/next-app-dir-clientnx test @snippet/next-pages-dirnx test @snippet/vuenx test @snippet/angularnx test @snippet/solidnx test @snippet/qwik-citynx test @builder.io/sdksnx test @snippet/reactnx typecheck @builder.io/sdksnx build @builder.io/sdk
Sent with 💌 from NxCloud.