Description
Nes is a websocket extension library for hapi. Hapi is a webserver framework. Versions below and including 6.4.0 have a denial of service vulnerability via an invalid Cookie header. This is only present when websocket authentication is set to `cookie`. Submitting an invalid cookie on the websocket upgrade request will cause the node process to error out.
Remediation
References
https://github.com/hapijs/nes/commit/249ba1755ed6977fbc208463c87364bf884ad655
https://github.com/hapijs/nes/issues/171
https://nodesecurity.io/advisories/331
Related Vulnerabilities
CVE-2023-26136 Vulnerability in maven package org.webjars.bowergithub.salesforce:tough-cookie
CVE-2014-6439 Vulnerability in maven package org.elasticsearch:elasticsearch
CVE-2021-23360 Vulnerability in npm package killport
CVE-2022-36313 Vulnerability in npm package file-type
CVE-2021-20218 Vulnerability in maven package io.fabric8:kubernetes-client