Description
Engine.IO is the implementation of transport-based cross-browser/cross-device bi-directional communication layer for Socket.IO. A specially crafted HTTP request can trigger an uncaught exception on the Engine.IO server, thus killing the Node.js process. This impacts all the users of the engine.io package, including those who uses depending packages like socket.io. There is no known workaround except upgrading to a safe version. There are patches for this issue released in versions 3.6.1 and 6.2.1.
Remediation
References
https://github.com/socketio/engine.io/commit/425e833ab13373edf1dd5a0706f07100db14e3c6
https://github.com/socketio/engine.io/commit/83c4071af871fc188298d7d591e95670bf9f9085
https://github.com/socketio/engine.io/security/advisories/GHSA-r7qp-cfhv-p84w
Related Vulnerabilities
CVE-2022-36083 Vulnerability in npm package jose-node-esm-runtime
CVE-2021-21331 Vulnerability in maven package com.datadoghq:datadog-api-client
CVE-2023-25158 Vulnerability in maven package org.geotools:gt-jdbc
CVE-2016-10707 Vulnerability in maven package org.webjars.bower:jquery
CVE-2020-28502 Vulnerability in maven package org.webjars.npm:xmlhttprequest