Server crash via omitted Upgrade header dereference
Published Jun 17, 2024 · Updated Aug 2, 2024
NULL pointer dereference in WebSockets ws allows remote attackers to crash a server through an HTTP upgrade request containing excessive headers. The handshake path calls toLowerCase() on req.headers.upgrade even when Node.js omits that value after the header count exceeds maxHeadersCount. A reachable ws server with a nonzero header-count limit is exposed; the demonstrated consequence is process termination, not data access or modification.
Summary
What happened
NULL pointer dereference in WebSockets ws allows remote attackers to crash a server through an HTTP upgrade request containing excessive headers. The handshake path calls toLowerCase() on req.headers.upgrade even when Node.js omits that value after the header count exceeds maxHeadersCount. A reachable ws server with a nonzero header-count limit is exposed; the demonstrated consequence is process termination, not data access or modification.
The record
- CVE
- CVE-2024-37890
- Published
- Jun 17, 2024
- Updated
- Aug 2, 2024
- Vendor
- WebSockets
- Product
- ws
- Classifications
- CWE-476, T1499
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jun 17, 2024CVE publishedPublication date reported by the CVE source.
- Aug 2, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0 <5.2.4
- Affected versionversion=0 <6.2.3
- Affected versionversion=0 <7.5.10
- Affected versionversion=0 <8.17.1
- Affected versionversion=2.1.0
- Affected versionversion=>= 2.1.0, < 5.2.4
- Affected versionversion=6.0.0
- Affected versionversion=>= 6.0.0, < 6.2.3
- Affected versionversion=7.0.0
- Affected versionversion=>= 7.0.0, < 7.5.10
- Affected versionversion=8.0.0
- Affected versionversion=>= 8.0.0, < 8.17.1
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
- Upstream excessive-header crash proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo