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-5654 Vulnerability in npm package react-devtools-core
CVE-2021-31684 Vulnerability in maven package net.minidev:json-smart
CVE-2022-3509 Vulnerability in maven package com.google.protobuf:protobuf-javalite
CVE-2023-26119 Vulnerability in maven package net.sourceforge.htmlunit:htmlunit
CVE-2017-1000427 Vulnerability in maven package org.webjars:marked