Vulnerability identifier: #VU94329
Vulnerability risk: Medium
CVSSv3.1: 6.5 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:U/RL:O/RC:C]
CVE-ID:
CWE-ID:
CWE-476
Exploitation vector: Network
Exploit availability: No
Vulnerable software:
ws
Web applications /
Modules and components for CMS
Vendor: WebSockets
Description
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to a NULL pointer dereference error when handling requests with the number of headers that exceeds the "server.maxHeadersCount" value. A remote attacker can send a specially crafted request to the application and perform a denial of service (DoS) attack.
Mitigation
Install updates from vendor's website.
Vulnerable software versions
ws: 2.1.0 - 8.17.0
External links
http://github.com/websockets/ws/security/advisories/GHSA-3h5v-q93c-6h6q
http://github.com/websockets/ws/issues/2230
http://github.com/websockets/ws/pull/2231
http://github.com/websockets/ws/commit/22c28763234aa75a7e1b76f5c01c181260d7917f
http://github.com/websockets/ws/commit/4abd8f6de4b0b65ef80b3ff081989479ed93377e
http://github.com/websockets/ws/commit/e55e5106f10fcbaac37cfa89759e4cc0d073a52c
http://github.com/websockets/ws/commit/eeb76d313e2a00dd5247ca3597bba7877d064a63
http://nodejs.org/api/http.html#servermaxheaderscount
Can this vulnerability be exploited remotely?
Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.
Is there known malware, which exploits this vulnerability?
No. We are not aware of malware exploiting this vulnerability.