CVEMETERBack to radar
OFFICIAL RECORD · JavaScript packages

CVE-2024-37890

PUBLISHEDOfficial status check: verifiedCVSS 3.1: 7.5 · high

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

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 [email protected] (e55e510) and backported to [email protected] (22c2876), [email protected] (eeb76d3), and [email protected] (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.

Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.

Severity and exploitation evidence

EPSS: 1.357% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.

CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T17:28:52.703Z. Public exploit availability is not used to set this status.

CVSS 3.1 · 7.5 · published by GitHub_M
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Assessment source · checked 2026-11-19T12:57:13.123Z

Verification by field

FieldStatusChecked at (UTC)Source
kevverified2026-11-19T17:28:52.703ZCISA KEV
cvssverified2026-11-19T12:57:13.123ZCVE Program
epssverified2026-11-19T16:04:38.699ZFIRST EPSS
patchesverified2026-11-19T12:52:28.625ZOSV
affectedverified2026-11-19T12:57:13.123ZCVE Program
lifecycleverified2026-11-19T12:57:13.123ZCVE Program

Affected versions and configuration

websockets ws; default status: unknown: >= 2.1.0, < 5.2.4 [affected; scheme: unspecified]; >= 6.0.0, < 6.2.3 [affected; scheme: unspecified]; >= 7.0.0, < 7.5.10 [affected; scheme: unspecified]; >= 8.0.0, < 8.17.1 [affected; scheme: unspecified]

Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.

CVE Program · cve-json · full conditions
{
  "affected": [
    {
      "vendor": "websockets",
      "product": "ws",
      "versions": [
        {
          "status": "affected",
          "version": ">= 2.1.0, < 5.2.4"
        },
        {
          "status": "affected",
          "version": ">= 6.0.0, < 6.2.3"
        },
        {
          "status": "affected",
          "version": ">= 7.0.0, < 7.5.10"
        },
        {
          "status": "affected",
          "version": ">= 8.0.0, < 8.17.1"
        }
      ]
    }
  ],
  "additionalContainers": [
    {
      "title": "CISA ADP Vulnrichment",
      "metrics": [
        {
          "other": {
            "type": "ssvc",
            "content": {
              "id": "CVE-2024-37890",
              "role": "CISA Coordinator",
              "options": [
                {
                  "Exploitation": "poc"
                },
                {
                  "Automatable": "yes"
                },
                {
                  "Technical Impact": "partial"
                }
              ],
              "version": "2.0.3",
              "timestamp": "2024-06-18T13:25:45.808140Z"
            }
          }
        }
      ],
      "affected": [
        {
          "cpes": [
            "cpe:2.3:a:websockets:ws:*:*:*:*:*:*:*:*"
          ],
          "vendor": "websockets",
          "product": "ws",
          "versions": [
            {
              "status": "affected",
              "version": "2.1.0"
            }
          ],
          "defaultStatus": "unknown"
        },
        {
          "cpes": [
            "cpe:2.3:a:websockets:ws:*:*:*:*:*:*:*:*"
          ],
          "vendor": "websockets",
          "product": "ws",
          "versions": [
            {
              "status": "affected",
              "version": "0",
              "lessThan": "5.2.4",
              "versionType": "custom"
            }
          ],
          "defaultStatus": "unknown"
        },
        {
          "cpes": [
            "cpe:2.3:a:websockets:ws:*:*:*:*:*:*:*:*"
          ],
          "vendor": "websockets",
          "product": "ws",
          "versions": [
            {
              "status": "affected",
              "version": "6.0.0"
            }
          ],
          "defaultStatus": "unknown"
        },
        {
          "cpes": [
            "cpe:2.3:a:websockets:ws:*:*:*:*:*:*:*:*"
          ],
          "vendor": "websockets",
          "product": "ws",
          "versions": [
            {
              "status": "affected",
              "version": "0",
              "lessThan": "6.2.3",
              "versionType": "custom"
            }
          ],
          "defaultStatus": "unknown"
        },
        {
          "cpes": [
            "cpe:2.3:a:websockets:ws:*:*:*:*:*:*:*:*"
          ],
          "vendor": "websockets",
          "product": "ws",
          "versions": [
            {
              "status": "affected",
              "version": "7.0.0"
            }
          ],
          "defaultStatus": "unknown"
        },
        {
          "cpes": [
            "cpe:2.3:a:websockets:ws:*:*:*:*:*:*:*:*"
          ],
          "vendor": "websockets",
          "product": "ws",
          "versions": [
            {
              "status": "affected",
              "version": "0",
              "lessThan": "7.5.10",
              "versionType": "custom"
            }
          ],
          "defaultStatus": "unknown"
        },
        {
          "cpes": [
            "cpe:2.3:a:websockets:ws:*:*:*:*:*:*:*:*"
          ],
          "vendor": "websockets",
          "product": "ws",
          "versions": [
            {
              "status": "affected",
              "version": "8.0.0"
            }
          ],
          "defaultStatus": "unknown"
        },
        {
          "cpes": [
            "cpe:2.3:a:websockets:ws:*:*:*:*:*:*:*:*"
          ],
          "vendor": "websockets",
          "product": "ws",
          "versions": [
            {
              "status": "affected",
              "version": "0",
              "lessThan": "8.17.1",
              "versionType": "custom"
            }
          ],
          "defaultStatus": "unknown"
        }
      ],
      "providerMetadata": {
        "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "shortName": "CISA-ADP",
        "dateUpdated": "2024-06-18T13:44:06.402Z"
      }
    },
    {
      "title": "CVE Program Container",
      "references": [
        {
          "url": "https://github.com/websockets/ws/security/advisories/GHSA-3h5v-q93c-6h6q",
          "name": "https://github.com/websockets/ws/security/advisories/GHSA-3h5v-q93c-6h6q",
          "tags": [
            "x_refsource_CONFIRM",
            "x_transferred"
          ]
        },
        {
          "url": "https://github.com/websockets/ws/issues/2230",
          "name": "https://github.com/websockets/ws/issues/2230",
          "tags": [
            "x_refsource_MISC",
            "x_transferred"
          ]
        },
        {
          "url": "https://github.com/websockets/ws/pull/2231",
          "name": "https://github.com/websockets/ws/pull/2231",
          "tags": [
            "x_refsource_MISC",
            "x_transferred"
          ]
        },
        {
          "url": "https://github.com/websockets/ws/commit/22c28763234aa75a7e1b76f5c01c181260d7917f",
          "name": "https://github.com/websockets/ws/commit/22c28763234aa75a7e1b76f5c01c181260d7917f",
          "tags": [
            "x_refsource_MISC",
            "x_transferred"
          ]
        },
        {
          "url": "https://github.com/websockets/ws/commit/4abd8f6de4b0b65ef80b3ff081989479ed93377e",
          "name": "https://github.com/websockets/ws/commit/4abd8f6de4b0b65ef80b3ff081989479ed93377e",
          "tags": [
            "x_refsource_MISC",
            "x_transferred"
          ]
        },
        {
          "url": "https://github.com/websockets/ws/commit/e55e5106f10fcbaac37cfa89759e4cc0d073a52c",
          "name": "https://github.com/websockets/ws/commit/e55e5106f10fcbaac37cfa89759e4cc0d073a52c",
          "tags": [
            "x_refsource_MISC",
            "x_transferred"
          ]
        },
        {
          "url": "https://github.com/websockets/ws/commit/eeb76d313e2a00dd5247ca3597bba7877d064a63",
          "name": "https://github.com/websockets/ws/commit/eeb76d313e2a00dd5247ca3597bba7877d064a63",
          "tags": [
            "x_refsource_MISC",
            "x_transferred"
          ]
        },
        {
          "url": "https://nodejs.org/api/http.html#servermaxheaderscount",
          "name": "https://nodejs.org/api/http.html#servermaxheaderscount",
          "tags": [
            "x_refsource_MISC",
            "x_transferred"
          ]
        }
      ],
      "providerMetadata": {
        "orgId": "af854a3a-2127-422b-91ae-364da2661108",
        "shortName": "CVE",
        "dateUpdated": "2024-08-02T03:57:40.022Z"
      }
    }
  ]
}
Archived source JSON
OSV · osv · full conditions
{
  "id": "GHSA-3h5v-q93c-6h6q",
  "aliases": [
    "CVE-2024-37890"
  ],
  "affected": [
    {
      "ranges": [
        {
          "type": "SEMVER",
          "events": [
            {
              "introduced": "2.1.0"
            },
            {
              "fixed": "5.2.4"
            }
          ]
        }
      ],
      "package": {
        "name": "ws",
        "purl": "pkg:npm/ws",
        "ecosystem": "npm"
      },
      "versions": [],
      "database_specific": {
        "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/06/GHSA-3h5v-q93c-6h6q/GHSA-3h5v-q93c-6h6q.json"
      }
    },
    {
      "ranges": [
        {
          "type": "SEMVER",
          "events": [
            {
              "introduced": "6.0.0"
            },
            {
              "fixed": "6.2.3"
            }
          ]
        }
      ],
      "package": {
        "name": "ws",
        "purl": "pkg:npm/ws",
        "ecosystem": "npm"
      },
      "versions": [],
      "database_specific": {
        "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/06/GHSA-3h5v-q93c-6h6q/GHSA-3h5v-q93c-6h6q.json"
      }
    },
    {
      "ranges": [
        {
          "type": "SEMVER",
          "events": [
            {
              "introduced": "7.0.0"
            },
            {
              "fixed": "7.5.10"
            }
          ]
        }
      ],
      "package": {
        "name": "ws",
        "purl": "pkg:npm/ws",
        "ecosystem": "npm"
      },
      "versions": [],
      "database_specific": {
        "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/06/GHSA-3h5v-q93c-6h6q/GHSA-3h5v-q93c-6h6q.json"
      }
    },
    {
      "ranges": [
        {
          "type": "SEMVER",
          "events": [
            {
              "introduced": "8.0.0"
            },
            {
              "fixed": "8.17.1"
            }
          ]
        }
      ],
      "package": {
        "name": "ws",
        "purl": "pkg:npm/ws",
        "ecosystem": "npm"
      },
      "versions": [],
      "database_specific": {
        "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/06/GHSA-3h5v-q93c-6h6q/GHSA-3h5v-q93c-6h6q.json"
      }
    }
  ],
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
    },
    {
      "type": "CVSS_V4",
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"
    }
  ],
  "upstream": [],
  "withdrawn": null,
  "references": [
    {
      "url": "https://github.com/websockets/ws/security/advisories/GHSA-3h5v-q93c-6h6q",
      "type": "WEB"
    },
    {
      "url": "https://github.com/websockets/ws/issues/2230",
      "type": "WEB"
    },
    {
      "url": "https://github.com/websockets/ws/pull/2231",
      "type": "WEB"
    },
    {
      "url": "https://github.com/websockets/ws/commit/22c28763234aa75a7e1b76f5c01c181260d7917f",
      "type": "WEB"
    },
    {
      "url": "https://github.com/websockets/ws/commit/4abd8f6de4b0b65ef80b3ff081989479ed93377e",
      "type": "WEB"
    },
    {
      "url": "https://github.com/websockets/ws/commit/e55e5106f10fcbaac37cfa89759e4cc0d073a52c",
      "type": "WEB"
    },
    {
      "url": "https://github.com/websockets/ws/commit/eeb76d313e2a00dd5247ca3597bba7877d064a63",
      "type": "WEB"
    },
    {
      "url": "https://github.com/websockets/ws",
      "type": "PACKAGE"
    }
  ],
  "relatedGitRanges": [],
  "database_specific": {
    "cwe_ids": [
      "CWE-476"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "nvd_published_at": "2024-06-17T20:15:13Z",
    "github_reviewed_at": "2024-06-17T19:09:10Z"
  }
}
Archived source JSON

Correction evidence

Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.

Evidence typeDistribution / releasePackageChannelVersion or source noteSource
ecosystem-boundarynpm / packagewsNot a distribution channel5.2.4Official record
ecosystem-boundarynpm / packagewsNot a distribution channel6.2.3Official record
ecosystem-boundarynpm / packagewsNot a distribution channel7.5.10Official record
ecosystem-boundarynpm / packagewsNot a distribution channel8.17.1Official record

Vendor notices and operational guidance

No connected vendor notice is available for this record.

Original sources and dates

Official status history