REDHAT-BUG-2477914: High severity npm/ws vulnerability

Published May 15, 2026
·
Updated

ws is an open source WebSocket client and server for Node.js. Prior to 8.20.1, the websocket.close() implementation is vulnerable to uninitialized memory disclosure when a TypedArray is passed as the reason argument. This vulnerability is fixed in 8.20.1.

Affected Software

1 affected component
npm/ws<8.20.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ws to a version that resolves this vulnerability.

    Fixed in 8.20.1

Event History

May 15, 2026
Data Sourced
via Red Hat·04:01 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of REDHAT-BUG-2477914?

The severity of REDHAT-BUG-2477914 is high with a score of 7.

2

What is the description of the vulnerability REDHAT-BUG-2477914?

REDHAT-BUG-2477914 is a vulnerability in the websocket.close() implementation of the ws library prior to version 8.20.1, which allows for uninitialized memory disclosure.

3

How do I fix REDHAT-BUG-2477914?

To fix REDHAT-BUG-2477914, update the ws library to version 8.20.1 or later.

4

What software is affected by REDHAT-BUG-2477914?

The software affected by REDHAT-BUG-2477914 is the npm/ws library.

5

When was the vulnerability REDHAT-BUG-2477914 published?

The vulnerability REDHAT-BUG-2477914 was published on May 15, 2026.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203