cve.bz

CVE-2024-37890 websockets ws: NULL Pointer Dereference

7.5 highEPSS 1.4%Fix available

High (7.5) in websockets ws. EPSS 1.4% estimated probability of exploitation activity in the next 30 days. Fixed in ws 5.2.4, 6.2.3, 7.5.10.

On this page
ws is an open source WebSocket client and server for Node.js. A request with a number of headers exceeding theserver.maxHeadersCount threshold could be used to crash a ws server. The vulnerability was fixed in ws@8.17.1 (e55e510) and backported to ws@7.5.10 (22c2876), ws@6.2.3 (eeb76d3), and ws@5.2.4 (4abd8f6). In vulnerable versions of ws, the issue can be mitigated in the following ways: 1. Reduce the maximum allowed length of the request headers using the --max-http-header-size=size and/or the maxHeaderSize options so that no more headers than the server.maxHeadersCount limit can be sent. 2. Set server.maxHeadersCount to 0 so that no limit is applied.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
1.4% (unchanged from 1.4% a week ago; 1.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 72nd percentile. Scored 2026-11-23. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: partial, assessed 2024-06-18. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-476 NULL Pointer Dereference
OWASP Top 10
A10:2025 Mishandling of Exceptional Conditions
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-37890 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-37890?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-37890?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-37890 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
websockets ws>= 2.1.0, < 5.2.4
websockets ws>= 6.0.0, < 6.2.3
websockets ws>= 7.0.0, < 7.5.10
websockets ws>= 8.0.0, < 8.17.1

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-3h5v-q93c-6h6qnpmws>=2.1.0 <5.2.45.2.4
GHSA-3h5v-q93c-6h6qnpmws>=6.0.0 <6.2.36.2.3
GHSA-3h5v-q93c-6h6qnpmws>=7.0.0 <7.5.107.5.10
GHSA-3h5v-q93c-6h6qnpmws>=8.0.0 <8.17.18.17.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12node-wsno fix listedDEBIAN-CVE-2024-37890
Debian13, 14node-ws8.18.0+~cs13.7.11-1DEBIAN-CVE-2024-37890
Ubuntu16.04:LTS, 18.04:LTS, 20.04:LTS and 5 morenode-wsno fix listedUBUNTU-CVE-2024-37890
Red Hatenterprise_linux:9::appstreamdotnet-hostfxr-6.0, dotnet-runtime-6.0, aspnetcore-runtime-6.0 and 6 more0:6.0.35-2.el9_5RHBA-2024:9550
Red Hatenterprise_linux:9::appstreamdotnet-hostfxr-8.0, dotnet-runtime-8.0, aspnetcore-runtime-8.0 and 8 more0:8.0.10-3.el9_5RHBA-2024:9549
Red Hatenterprise_linux:9::appstreamdotnet6.0, dotnet-sdk-6.0, dotnet6.0-debuginfo and 3 more0:6.0.135-2.el9_5RHBA-2024:9550
Red Hatenterprise_linux:9::appstreamdotnet8.0, dotnet-sdk-8.0, dotnet-sdk-dbg-8.0 and 4 more0:8.0.110-3.el9_5RHBA-2024:9549
Red Hatenterprise_linux:9::crbdotnet-hostfxr-6.0-debuginfo, dotnet-runtime-6.0-debuginfo, dotnet-apphost-pack-6.0-debuginfo0:6.0.35-2.el9_5RHBA-2024:9550
Red Hatenterprise_linux:9::crbdotnet-hostfxr-8.0-debuginfo, dotnet-runtime-8.0-debuginfo, dotnet-apphost-pack-8.0-debuginfo0:8.0.10-3.el9_5RHBA-2024:9549
Red Hatenterprise_linux:9::crbdotnet6.0-debuginfo, dotnet6.0-debugsource, dotnet-sdk-6.0-debuginfo and 1 more0:6.0.135-2.el9_5RHBA-2024:9550
Red Hatenterprise_linux:9::crbdotnet8.0-debuginfo, dotnet8.0-debugsource, dotnet-sdk-8.0-debuginfo and 1 more0:8.0.110-3.el9_5RHBA-2024:9549
Red Hatenterprise_linux:10.0dotnet-hostfxr-8.0, dotnet-runtime-8.0, aspnetcore-runtime-8.0 and 8 more0:8.0.13-2.el10_0RHBA-2025:4932
Red Hatenterprise_linux:10.0dotnet8.0, dotnet-sdk-8.0, dotnet-sdk-dbg-8.0 and 4 more0:8.0.113-2.el10_0RHBA-2025:4932
Azure Linux2js-jqueryno fix listedAZL-43600
Azure Linux2reaper3.1.1-10AZL-42808
Azure Linux3js-jqueryno fix listedAZL-45066

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat.

Red Hat

Red Hat rates this Moderate.

Red Hat's mitigation

The issue can be mitigated by reducing the maximum allowed length of the request headers using the --max-http-header-size=size or the maxHeaderSize options so that no more headers than the server.maxHeadersCount limit can be sent. The issue can be mitigated also by seting server.maxHeadersCount to 0.

ProductPackageStateAdvisory
Red Hat Developer Hub 1.3 on RHEL 9rhdh/rhdh-hub-rhel9:1.3-124Fixed 2024-11-11RHBA-2024:9054
Red Hat Enterprise Linux 10dotnet8.0-0:8.0.113-2.el10_0Fixed 2025-05-13RHBA-2025:4932
Red Hat Enterprise Linux 9dotnet8.0-0:8.0.110-3.el9_5Fixed 2024-11-13RHBA-2024:9549
Red Hat Enterprise Linux 9dotnet6.0-0:6.0.135-2.el9_5Fixed 2024-11-13RHBA-2024:9550
RHODF-4.14-RHEL-9odf4/odf-console-rhel9:v4.14.18-3Fixed 2025-06-04RHSA-2025:8551
RHODF-4.15-RHEL-9odf4/odf-console-rhel9:v4.15.14-2Fixed 2025-06-04RHSA-2025:8544
RHODF-4.16-RHEL-9odf4/mcg-core-rhel9:v4.16.0-60Fixed 2024-07-17RHSA-2024:4591
RHODF-4.16-RHEL-9odf4/mcg-core-rhel9:v4.16.1-2Fixed 2024-08-19RHSA-2024:5547
RHODF-4.16-RHEL-9odf4/odf-console-rhel9:v4.16.2-2Fixed 2024-09-18RHSA-2024:6755
Red Hat Ceph Storage 7.1rhceph/rhceph-7-rhel9:1791452477Fixed 2026-10-15RHSA-2026:83548
Cryostat 2nodejs-wsNot affected
Migration Toolkit for Applications 6nodejs-wsWill not fix
Migration Toolkit for Applications 7mta/mta-cli-rhel9Fix deferred
Migration Toolkit for Runtimesnodejs-wsWill not fix
Multicluster Engine for Kubernetesmulticluster-engine/console-mce-rhel9Not affected
Multicluster Engine for Kubernetesmulticluster-engine/multicluster-engine-console-mce-rhel9Not affected
.NET 6.0 on Red Hat Enterprise Linuxrh-dotnet60-dotnetOut of support scope
OpenShift Serverlessnodejs-wsWill not fix
Red Hat 3scale API Management Platform 23scale-systemNot affected
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/console-rhel8Not affected
59 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-37890.

References

Check your stackJSON