dependabot[bot] opened a new pull request, #25741:
URL: https://github.com/apache/flink/pull/25741

   Bumps [ws](https://github.com/websockets/ws) and 
[socket.io](https://github.com/socketio/socket.io). These dependencies needed 
to be updated together.
   Updates `ws` from 8.11.0 to 8.17.1
   <details>
   <summary>Release notes</summary>
   <p><em>Sourced from <a href="https://github.com/websockets/ws/releases";>ws's 
releases</a>.</em></p>
   <blockquote>
   <h2>8.17.1</h2>
   <h1>Bug fixes</h1>
   <ul>
   <li>Fixed a DoS vulnerability (<a 
href="https://redirect.github.com/websockets/ws/issues/2231";>#2231</a>).</li>
   </ul>
   <p>A request with a number of headers exceeding 
the[<code>server.maxHeadersCount</code>][]
   threshold could be used to crash a ws server.</p>
   <pre lang="js"><code>const http = require('http');
   const WebSocket = require('ws');
   <p>const wss = new WebSocket.Server({ port: 0 }, function () {
   const chars = 
&quot;!#$%&amp;'*+-.0123456789abcdefghijklmnopqrstuvwxyz^_`|~&quot;.split('');
   const headers = {};
   let count = 0;</p>
   <p>for (let i = 0; i &lt; chars.length; i++) {
   if (count === 2000) break;</p>
   <pre><code>for (let j = 0; j &amp;lt; chars.length; j++) {
     const key = chars[i] + chars[j];
     headers[key] = 'x';
   
     if (++count === 2000) break;
   }
   </code></pre>
   <p>}</p>
   <p>headers.Connection = 'Upgrade';
   headers.Upgrade = 'websocket';
   headers['Sec-WebSocket-Key'] = 'dGhlIHNhbXBsZSBub25jZQ==';
   headers['Sec-WebSocket-Version'] = '13';</p>
   <p>const request = http.request({
   headers: headers,
   host: '127.0.0.1',
   port: wss.address().port
   });</p>
   <p>request.end();
   });
   </code></pre></p>
   <p>The vulnerability was reported by <a 
href="https://github.com/rrlapointe";>Ryan LaPointe</a> in <a 
href="https://redirect.github.com/websockets/ws/issues/2230";>websockets/ws#2230</a>.</p>
   <p>In vulnerable versions of ws, the issue can be mitigated in the following 
ways:</p>
   <ol>
   <li>Reduce the maximum allowed length of the request headers using the
   [<code>--max-http-header-size=size</code>][] and/or the 
[<code>maxHeaderSize</code>][] options so
   that no more headers than the <code>server.maxHeadersCount</code> limit can 
be sent.</li>
   </ol>
   <!-- raw HTML omitted -->
   </blockquote>
   <p>... (truncated)</p>
   </details>
   <details>
   <summary>Commits</summary>
   <ul>
   <li><a 
href="https://github.com/websockets/ws/commit/3c56601092872f7d7566989f0e379271afd0e4a1";><code>3c56601</code></a>
 [dist] 8.17.1</li>
   <li><a 
href="https://github.com/websockets/ws/commit/e55e5106f10fcbaac37cfa89759e4cc0d073a52c";><code>e55e510</code></a>
 [security] Fix crash when the Upgrade header cannot be read (<a 
href="https://redirect.github.com/websockets/ws/issues/2231";>#2231</a>)</li>
   <li><a 
href="https://github.com/websockets/ws/commit/6a00029edd924499f892aed8003cef1fa724cfe5";><code>6a00029</code></a>
 [test] Increase code coverage</li>
   <li><a 
href="https://github.com/websockets/ws/commit/ddfe4a804d79e7788ab136290e609f91cf68423f";><code>ddfe4a8</code></a>
 [perf] Reduce the amount of <code>crypto.randomFillSync()</code> calls</li>
   <li><a 
href="https://github.com/websockets/ws/commit/b73b11828d166e9692a9bffe9c01a7e93bab04a8";><code>b73b118</code></a>
 [dist] 8.17.0</li>
   <li><a 
href="https://github.com/websockets/ws/commit/29694a5905fa703e86667928e6bacac397469471";><code>29694a5</code></a>
 [test] Use the <code>highWaterMark</code> variable</li>
   <li><a 
href="https://github.com/websockets/ws/commit/934c9d6b938b93c045cb13e5f7c19c27a8dd925a";><code>934c9d6</code></a>
 [ci] Test on node 22</li>
   <li><a 
href="https://github.com/websockets/ws/commit/1817bac06e1204bfb578b8b3f4bafd0fa09623d0";><code>1817bac</code></a>
 [ci] Do not test on node 21</li>
   <li><a 
href="https://github.com/websockets/ws/commit/96c9b3deddf56cacb2d756aaa918071e03cdbc42";><code>96c9b3d</code></a>
 [major] Flip the default value of <code>allowSynchronousEvents</code> (<a 
href="https://redirect.github.com/websockets/ws/issues/2221";>#2221</a>)</li>
   <li><a 
href="https://github.com/websockets/ws/commit/e5f32c7e1e6d3d19cd4a1fdec84890e154db30c1";><code>e5f32c7</code></a>
 [fix] Emit at most one event per event loop iteration (<a 
href="https://redirect.github.com/websockets/ws/issues/2218";>#2218</a>)</li>
   <li>Additional commits viewable in <a 
href="https://github.com/websockets/ws/compare/8.11.0...8.17.1";>compare 
view</a></li>
   </ul>
   </details>
   <br />
   
   Updates `socket.io` from 4.6.1 to 4.8.1
   <details>
   <summary>Release notes</summary>
   <p><em>Sourced from <a 
href="https://github.com/socketio/socket.io/releases";>socket.io's 
releases</a>.</em></p>
   <blockquote>
   <h2>socket.io@4.8.1</h2>
   <p>Due to a change in the bundler configuration, the production bundle 
(<code>socket.io.min.js</code>) did not support sending and receiving binary 
data in version <code>4.8.0</code>. This is now fixed.</p>
   <h3>Dependencies</h3>
   <ul>
   <li><a 
href="https://github.com/socketio/engine.io/releases/tag/6.5.2";><code>engine.io@~6.6.0</code></a>
 (no change)</li>
   <li><a 
href="https://github.com/websockets/ws/releases/tag/8.17.1";><code>ws@~8.17.1</code></a>
 (no change)</li>
   </ul>
   <h2>socket.io-client@4.8.1</h2>
   <h3>Bug Fixes</h3>
   <ul>
   <li><strong>bundle:</strong> do not mangle the &quot;_placeholder&quot; 
attribute (<a 
href="https://github.com/socketio/socket.io/commit/ca9e994815aa2e31e0342e37ccdc2e9e8c5fd13c";>ca9e994</a>)</li>
   </ul>
   <h3>Dependencies</h3>
   <ul>
   <li><a 
href="https://github.com/socketio/engine.io-client/releases/tag/6.5.2";><code>engine.io-client@~6.6.1</code></a>
 (no change)</li>
   <li><a 
href="https://github.com/websockets/ws/releases/tag/8.17.1";><code>ws@~8.17.1</code></a>
 (no change)</li>
   </ul>
   <h2>socket.io-client@4.8.0</h2>
   <h3>Features</h3>
   <h4>Custom transport implementations</h4>
   <p>The <code>transports</code> option now accepts an array of transport 
implementations:</p>
   <pre lang="js"><code>import { io } from &quot;socket.io-client&quot;;
   import { XHR, WebSocket } from &quot;engine.io-client&quot;;
   <p>const socket = io({
   transports: [XHR, WebSocket]
   });
   </code></pre></p>
   <p>Here is the list of provided implementations:</p>
   <table>
   <thead>
   <tr>
   <th>Transport</th>
   <th>Description</th>
   </tr>
   </thead>
   <tbody>
   <tr>
   <td><code>Fetch</code></td>
   <td>HTTP long-polling based on the built-in <code>fetch()</code> method.</td>
   </tr>
   <tr>
   <td><code>NodeXHR</code></td>
   <td>HTTP long-polling based on the <code>XMLHttpRequest</code> object 
provided by the <code>xmlhttprequest-ssl</code> package.</td>
   </tr>
   <tr>
   <td><code>XHR</code></td>
   <td>HTTP long-polling based on the built-in <code>XMLHttpRequest</code> 
object.</td>
   </tr>
   <tr>
   <td><code>NodeWebSocket</code></td>
   <td>WebSocket transport based on the <code>WebSocket</code> object provided 
by the <code>ws</code> package.</td>
   </tr>
   <tr>
   <td><code>WebSocket</code></td>
   <td>WebSocket transport based on the built-in <code>WebSocket</code> 
object.</td>
   </tr>
   <tr>
   <td><code>WebTransport</code></td>
   <td>WebTransport transport based on the built-in <code>WebTransport</code> 
object.</td>
   </tr>
   </tbody>
   </table>
   <p>Usage:</p>
   <table>
   <thead>
   <tr>
   <th>Transport</th>
   <th>browser</th>
   <th>Node.js</th>
   <th>Deno</th>
   <th>Bun</th>
   </tr>
   </thead>
   </table>
   <!-- raw HTML omitted -->
   </blockquote>
   <p>... (truncated)</p>
   </details>
   <details>
   <summary>Commits</summary>
   <ul>
   <li><a 
href="https://github.com/socketio/socket.io/commit/91e1c8b3584054db6072046404a24e79a17c1367";><code>91e1c8b</code></a>
 chore(release): socket.io@4.8.1</li>
   <li><a 
href="https://github.com/socketio/socket.io/commit/8d5528aa2abc530f9e35f53935083894cec38c99";><code>8d5528a</code></a>
 chore(release): socket.io-client@4.8.1</li>
   <li><a 
href="https://github.com/socketio/socket.io/commit/71387e52942c26493a6220fa332ff73293eb93c7";><code>71387e5</code></a>
 refactor(sio-client): reexport transports from the engine</li>
   <li><a 
href="https://github.com/socketio/socket.io/commit/aead83560dfdcb83c70d87061875c45aae9d1bd6";><code>aead835</code></a>
 refactor(sio): make Namespace._fns private (<a 
href="https://redirect.github.com/socketio/socket.io/issues/5196";>#5196</a>)</li>
   <li><a 
href="https://github.com/socketio/socket.io/commit/029e01090163e6c0beb5ad9f20e2fb9a3fb03fa3";><code>029e010</code></a>
 chore(release): engine.io-client@6.6.2</li>
   <li><a 
href="https://github.com/socketio/socket.io/commit/4ca6ddb3a230911f85ef4e4623c5697fff68755a";><code>4ca6ddb</code></a>
 docs(nuxt): update example with latest version</li>
   <li><a 
href="https://github.com/socketio/socket.io/commit/ca9e994815aa2e31e0342e37ccdc2e9e8c5fd13c";><code>ca9e994</code></a>
 fix(sio-client): do not mangle the &quot;_placeholder&quot; attribute</li>
   <li><a 
href="https://github.com/socketio/socket.io/commit/4865f2e62eff9cf59f602e753d9f84159a3139af";><code>4865f2e</code></a>
 fix(eio-client): prevent infinite loop with Node.js built-in WebSocket</li>
   <li><a 
href="https://github.com/socketio/socket.io/commit/d4b3ddedffa5aba59657db795a4787052e16c9a0";><code>d4b3dde</code></a>
 ci: use Node.js 22</li>
   <li><a 
href="https://github.com/socketio/socket.io/commit/3b68658201c771b189b3d235458e2b0ac293dab2";><code>3b68658</code></a>
 chore: bump <code>@​fails-components/webtransport</code> to version 1.1.4 
(dev)</li>
   <li>Additional commits viewable in <a 
href="https://github.com/socketio/socket.io/compare/4.6.1...socket.io@4.8.1";>compare
 view</a></li>
   </ul>
   </details>
   <br />
   
   
   Dependabot will resolve any conflicts with this PR as long as you don't 
alter it yourself. You can also trigger a rebase manually by commenting 
`@dependabot rebase`.
   
   [//]: # (dependabot-automerge-start)
   [//]: # (dependabot-automerge-end)
   
   ---
   
   <details>
   <summary>Dependabot commands and options</summary>
   <br />
   
   You can trigger Dependabot actions by commenting on this PR:
   - `@dependabot rebase` will rebase this PR
   - `@dependabot recreate` will recreate this PR, overwriting any edits that 
have been made to it
   - `@dependabot merge` will merge this PR after your CI passes on it
   - `@dependabot squash and merge` will squash and merge this PR after your CI 
passes on it
   - `@dependabot cancel merge` will cancel a previously requested merge and 
block automerging
   - `@dependabot reopen` will reopen this PR if it is closed
   - `@dependabot close` will close this PR and stop Dependabot recreating it. 
You can achieve the same result by closing it manually
   - `@dependabot show <dependency name> ignore conditions` will show all of 
the ignore conditions of the specified dependency
   - `@dependabot ignore this major version` will 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 version` will 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 dependency` will 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](https://github.com/apache/flink/network/alerts).
   
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to