CVE Tools

CVE-2024-37890

Denial of service when handling a request with many HTTP headers in ws

CVE-2024-37890 is a null-pointer deref in OpenJS Foundation ws (CVSS 7.5, High).

No known exploitation. EPSS puts it in the 76th percentile. Fixed in 5.2.4.

Check it yourself

OpenVAS · 10 checks

e.g. OID 1.3.6.1.4.1.25623.1.0.153661

Run the check

Published Updated Sources: CVE.org, NVD, GitHub, BDU

What to do

Find your product and version, then upgrade to the build on the right.

  • Websockets WsAffected: >= 2.1.0, < 5.2.4Upgrade to: not statedAffected: >= 6.0.0, < 6.2.3Upgrade to: not statedAffected: >= 7.0.0, < 7.5.10Upgrade to: not statedAffected: >= 8.0.0, < 8.17.1Upgrade to: not statedStated by: CVE record
  • Npm WsAffected: ≥ 2.1.0, < 5.2.4Upgrade to: 5.2.4Stated by: GitHub advisory
  • RED SOFT RED OSAffected: 7.3Upgrade to: not statedStated by: BDU
  • OpenJS Foundation wsAffected: from 2.1.0 before 5.2.4Upgrade to: not statedStated by: BDU
  • SberTech Platform V SberLinux OS ServerAffected: 9.1Upgrade to: not statedStated by: BDU

Versions as the sources state them. Full version matrix after sign-in

What it is

From the CVE record

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.

In plain language

No plain-language summary for this CVE yet.

Exploitation

Where each signal puts this CVE on the scale from published to confirmed exploited.

EPSS76th
CISA KEV

Not in the catalog. CISA has not confirmed exploitation.

Public exploits

No public exploit or proof of concept found in the sources we track.

EPSS

1.6% chance of exploitation activity in the next 30 days, which ranks it in the 76th percentile of scored CVEs.

Exploit Prediction Scoring System, FIRST.org. A probability, not a confirmation.

Lifecycle

6 events over 738 days, from the signal feeds we watch.

  1. OpenVAS check added
  2. Patch availablerecord updated
  3. Publishedweakness classified, att&ck mapped

Affected products

Technical detail

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Scored 7.5 by NVD.

How it is reached

  • Attack Vector NetworkExploitable remotely over the network without any special conditions
  • Attack Complexity LowNo special conditions — the attack can be reliably reproduced
  • Privileges Required NoneNo authentication required — anyone can exploit this
  • User Interaction NoneNo user interaction needed — fully automated exploitation

Scope

  • Scope UnchangedImpact is limited to the vulnerable component itself

Impact if exploited

  • Confidentiality NoneNo confidentiality impact
  • Integrity NoneNo integrity impact
  • Availability HighTotal denial of service — the component is completely unavailable

Weaknesses

ATT&CK techniques

Mapped from the weaknesses above (CWE to ATT&CK), not observed in attacks.

Sources

Questions about CVE-2024-37890

Is CVE-2024-37890 being exploited?
No exploitation is confirmed and no public exploit is known. EPSS puts the chance of exploitation in the next 30 days at 1.6%.
Which versions are affected by CVE-2024-37890?
Ws: from 2.1.0 before 5.2.4. Ws: >= 2.1.0, < 5.2.4; >= 6.0.0, < 6.2.3; >= 7.0.0, < 7.5.10. Ws: ≥ 2.1.0, < 5.2.4. 2 more products are listed in the record.
How do I fix or mitigate CVE-2024-37890?
Upgrade to 5.2.4 or later. The advisory is on github.com.

Last updated

Related articles

All articles

Watch the software you run.

My Stack ranks new CVEs for your products by real-world exploitation, so the next serious one reaches you without reading every advisory.

We'll flag the next CVE, public exploit or patch for Ws, not every advisory.