CVE catalog

CVE-2024-37890

node-ws: CVE-2024-37890

[CVE catalog]

Severity
Medium · CVSS 5.9CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
Source
[NVD] · [CVE record]
EPSS
1.36% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiannode-wssid8.21.3+~cs14.19.1-1fixed
Debiannode-wsforky8.21.3+~cs14.19.1-1fixed
Debiannode-wstrixie8.18.1+~cs14.18.2-1fixed
Debiannode-wsbookworm8.11.0+~cs13.7.3-1vulnerable
NpmwsNot reported8.17.1fixed
NpmwsNot reported6.2.3fixed
NpmwsNot reported7.5.10fixed
NpmwsNot reported8.17.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiannode-wssourcesid8.18.0+~cs13.7.11-1not yet assignedNot reported[1074236]
Debiannode-wssourceforky8.18.0+~cs13.7.11-1not yet assignedNot reported[1074236]
Debiannode-wssourcetrixie8.18.0+~cs13.7.11-1not yet assignedNot reported[1074236]
Debiannode-wssourcebookworm(unfixed)not yet assignedNot reported[1074236]
NpmwsnpmNot reported8.17.1Not reportedGHSA-3H5V-Q93C-6H6QNot reported
NpmwsnpmNot reported6.2.3Not reportedNot reportedNot reported
NpmwsnpmNot reported7.5.10Not reportedNot reportedNot reported
NpmwsnpmNot reported8.17.1Not reportedNot reportedNot reported

[Debian bug #1074236]

Notes

[bookworm] node-ws: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [node-ws]Affected
    Details (2)
    • 8.11.0+~cs13.7.3-1 · all · bookworm

      Affected

      dsa · node-ws · debian · bookworm; dsa · node-ws · debian · 12

    • 8.11.0+~cs13.7.3-1 · all · bookworm

      Affected

      dsa · node-ws · debian · bookworm; dsa · node-ws · debian · 12

[Debian 13 (Trixie)]

  • [node-ws]Fixed
    Details (2)
    • 8.18.1+~cs14.18.2-1 · all · trixie

      Fixed · Fixed: 8.18.0+~cs13.7.11-1

      dsa · node-ws · debian · 13

    • 8.18.1+~cs14.18.2-1 · all · trixie

      Fixed · Fixed: 8.18.0+~cs13.7.11-1

      dsa · node-ws · debian · 13

Observed:

References