Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump ws and @umbrelladocs/linkspector (#662)
Bumps [ws](https://github.com/websockets/ws) to 8.17.1 and updates ancestor dependency [@umbrelladocs/linkspector](https://github.com/UmbrellaDocs/linkspector). These dependencies need to be updated together. Updates `ws` from 8.16.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 = "!#$%&'*+-.0123456789abcdefghijklmnopqrstuvwxyz^_`|~".split(''); const headers = {}; let count = 0;</p> <p>for (let i = 0; i < chars.length; i++) { if (count === 2000) break;</p> <pre><code>for (let j = 0; j &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.16.0...8.17.1">compare view</a></li> </ul> </details> <br /> Updates `@umbrelladocs/linkspector` from 0.2.7 to 0.3.8 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/UmbrellaDocs/linkspector/releases"><code>@umbrelladocs/linkspector</code>'s releases</a>.</em></p> <blockquote> <h2>v0.3.8</h2> <h2>What's Changed</h2> <ul> <li>Fix typo by <a href="https://github.com/koppor"><code>@koppor</code></a> in <a href="https://redirect.github.com/UmbrellaDocs/linkspector/pull/49">UmbrellaDocs/linkspector#49</a></li> <li>Fix typo by <a href="https://github.com/IvanArkhipov1999"><code>@IvanArkhipov1999</code></a> in <a href="https://redirect.github.com/UmbrellaDocs/linkspector/pull/52">UmbrellaDocs/linkspector#52</a></li> <li>Use GitHub slugger for converting ID to slug by <a href="https://github.com/gaurav-nelson"><code>@gaurav-nelson</code></a> in <a href="https://redirect.github.com/UmbrellaDocs/linkspector/pull/58">UmbrellaDocs/linkspector#58</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/koppor"><code>@koppor</code></a> made their first contribution in <a href="https://redirect.github.com/UmbrellaDocs/linkspector/pull/49">UmbrellaDocs/linkspector#49</a></li> <li><a href="https://github.com/IvanArkhipov1999"><code>@IvanArkhipov1999</code></a> made their first contribution in <a href="https://redirect.github.com/UmbrellaDocs/linkspector/pull/52">UmbrellaDocs/linkspector#52</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/UmbrellaDocs/linkspector/compare/v0.3.7...v0.3.8">https://github.com/UmbrellaDocs/linkspector/compare/v0.3.7...v0.3.8</a></p> <h2>v0.3.7</h2> <h2>What's Changed</h2> <ul> <li>Add Dockerfile by <a href="https://github.com/marcindulak"><code>@marcindulak</code></a> in <a href="https://redirect.github.com/UmbrellaDocs/linkspector/pull/23">UmbrellaDocs/linkspector#23</a></li> <li>Update the JSON output to only report errors in Reviewdog Diagnostic Format by <a href="https://github.com/gaurav-nelson"><code>@gaurav-nelson</code></a> in <a href="https://redirect.github.com/UmbrellaDocs/linkspector/pull/43">UmbrellaDocs/linkspector#43</a></li> <li>Minor bug fixes by <a href="https://github.com/gaurav-nelson"><code>@gaurav-nelson</code></a> in <a href="https://redirect.github.com/UmbrellaDocs/linkspector/pull/46">UmbrellaDocs/linkspector#46</a></li> <li>Check AsciiDoc hyperlinks by <a href="https://github.com/gaurav-nelson"><code>@gaurav-nelson</code></a> in <a href="https://redirect.github.com/UmbrellaDocs/linkspector/pull/48">UmbrellaDocs/linkspector#48</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/marcindulak"><code>@marcindulak</code></a> made their first contribution in <a href="https://redirect.github.com/UmbrellaDocs/linkspector/pull/23">UmbrellaDocs/linkspector#23</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/UmbrellaDocs/linkspector/compare/v0.3.6...v0.3.7">https://github.com/UmbrellaDocs/linkspector/compare/v0.3.6...v0.3.7</a></p> <h2>v0.3.6</h2> <h2>What's Changed</h2> <ul> <li>Fix section links checking in the same file by <a href="https://github.com/gaurav-nelson"><code>@gaurav-nelson</code></a> in <a href="https://redirect.github.com/UmbrellaDocs/linkspector/pull/42">UmbrellaDocs/linkspector#42</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/UmbrellaDocs/linkspector/compare/v0.3.5...v0.3.6">https://github.com/UmbrellaDocs/linkspector/compare/v0.3.5...v0.3.6</a></p> <h2>v0.3.5</h2> <h2>What's Changed</h2> <ul> <li>Fix top level relative link checking, added test, added <code>.linkspector.yml</code> by <a href="https://github.com/gaurav-nelson"><code>@gaurav-nelson</code></a> in <a href="https://redirect.github.com/UmbrellaDocs/linkspector/pull/41">UmbrellaDocs/linkspector#41</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/UmbrellaDocs/linkspector/compare/v0.3.4...v0.3.5">https://github.com/UmbrellaDocs/linkspector/compare/v0.3.4...v0.3.5</a></p> <h2>v0.3.4</h2> <h2>What's Changed</h2> <ul> <li>Fix: Check section links in the same file. by <a href="https://github.com/gaurav-nelson"><code>@gaurav-nelson</code></a> in <a href="https://redirect.github.com/UmbrellaDocs/linkspector/pull/40">UmbrellaDocs/linkspector#40</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/UmbrellaDocs/linkspector/compare/v0.3.3...v0.3.4">https://github.com/UmbrellaDocs/linkspector/compare/v0.3.3...v0.3.4</a></p> <h2>v0.3.3</h2> <h2>What's Changed</h2> <ul> <li>Dev 0.3.3 by <a href="https://github.com/gaurav-nelson"><code>@gaurav-nelson</code></a> in <a href="https://redirect.github.com/UmbrellaDocs/linkspector/pull/39">UmbrellaDocs/linkspector#39</a></li> <li>Switched to <code>npm</code></li> <li>Added tests for checking image links and relative links</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/UmbrellaDocs/linkspector/commit/4ac8576e2c9c7a68d3b26f8b190d80f4f145eecf"><code>4ac8576</code></a> Update the package version for release</li> <li><a href="https://github.com/UmbrellaDocs/linkspector/commit/14511bd82451cfeb2adbb737d4a8a2ff11286590"><code>14511bd</code></a> Merge pull request <a href="https://redirect.github.com/UmbrellaDocs/linkspector/issues/58">#58</a> from UmbrellaDocs/section-links-fix</li> <li><a href="https://github.com/UmbrellaDocs/linkspector/commit/1b3aff4647184ab96fe2ca3dedc080f37c36b648"><code>1b3aff4</code></a> Use GitHub slugger for converting ID to slug</li> <li><a href="https://github.com/UmbrellaDocs/linkspector/commit/7b5fe4d49a30cf2dc1c9fa0d53ecbaa704091445"><code>7b5fe4d</code></a> Merge pull request <a href="https://redirect.github.com/UmbrellaDocs/linkspector/issues/52">#52</a> from IvanArkhipov1999/fix-typo</li> <li><a href="https://github.com/UmbrellaDocs/linkspector/commit/38feffb8b9a423ff6b96a731d1f7bcffdaa8e1b5"><code>38feffb</code></a> Fix typo</li> <li><a href="https://github.com/UmbrellaDocs/linkspector/commit/71b8ebd4e59dd523e54fbd2a4e0644e6d27bb79e"><code>71b8ebd</code></a> Merge pull request <a href="https://redirect.github.com/UmbrellaDocs/linkspector/issues/49">#49</a> from koppor/patch-1</li> <li><a href="https://github.com/UmbrellaDocs/linkspector/commit/e1c40a1e048199a9763981c47eac73d981d5756b"><code>e1c40a1</code></a> Fix typo</li> <li><a href="https://github.com/UmbrellaDocs/linkspector/commit/8d44ea9e5e62463ef0ee18bfcf2b062a0f3c0000"><code>8d44ea9</code></a> Update test to fix failing build</li> <li><a href="https://github.com/UmbrellaDocs/linkspector/commit/17478b35a2f8189ac9d83c9e703b3f19a0ff9cb4"><code>17478b3</code></a> Added action-linkspector link</li> <li><a href="https://github.com/UmbrellaDocs/linkspector/commit/01daaa64401cdac1b8a24479a9b915980ec1f93e"><code>01daaa6</code></a> Update version for release</li> <li>Additional commits viewable in <a href="https://github.com/UmbrellaDocs/linkspector/compare/v0.2.7...v0.3.8">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/EGI-Federation/documentation/network/alerts). </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Loading branch information
61139a1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@check-spelling-bot Report
🔴 Please review
See the 📜action log or 📝 job summary for details.
See ❌ Event descriptions for more information.