CVE-2024-37890
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_MCVSS: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
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T17:28:52.703Z | CISA KEV |
| cvss | verified | 2026-11-19T12:57:13.123Z | CVE Program |
| epss | verified | 2026-11-19T16:04:38.699Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:28.625Z | OSV |
| affected | verified | 2026-11-19T12:57:13.123Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:57:13.123Z | CVE 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 JSONOSV · 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 JSONCorrection 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 type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | npm / package | ws | Not a distribution channel | 5.2.4 | Official record |
| ecosystem-boundary | npm / package | ws | Not a distribution channel | 6.2.3 | Official record |
| ecosystem-boundary | npm / package | ws | Not a distribution channel | 7.5.10 | Official record |
| ecosystem-boundary | npm / package | ws | Not a distribution channel | 8.17.1 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- OSVConsulted: 2026-11-19T12:52:28.625ZArchived source JSON
Source publication: 2024-06-17T19:09:10.000Z
Source modification: 2026-09-10T03:50:14.788ZDocument fingerprint
dc3201a19b0a98fc2f3597111339b544463a035fb3b41a6615e904426f7fb5cd - CISA KEVConsulted: 2026-11-19T17:28:52.703ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - CVE ProgramConsulted: 2026-11-19T12:57:13.123ZArchived source JSON
Source publication: 2024-06-17T19:09:02.127Z
Source modification: 2024-08-02T03:57:40.022ZDocument fingerprint
33557f91b91a5e804e9b13b949c59b3c2c7cad63260e960d15852085465418d3 - FIRST EPSSConsulted: 2026-11-19T16:04:38.699ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
b254813e22792d1b2a11f4d85d4f5aea677f6a8ea9afd9fead48fed930e47e43
Official status history
- UNKNOWN → PUBLISHED · · evidence