Snyk has a proof-of-concept or detailed explanation of how to exploit this vulnerability.
The probability is the direct output of the EPSS model, and conveys an overall sense of the threat of exploitation in the wild. The percentile measures the EPSS probability relative to all known EPSS scores. Note: This data is updated daily, relying on the latest available EPSS model version. Check out the EPSS documentation for more details.
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsUpgrade engine.io to version 6.6.12 or higher.
engine.io is a realtime engine behind Socket.IO. It provides the foundation of a bidirectional connection between client and server
Affected versions of this package are vulnerable to Uncaught Exception via unhandled socket errors in server.ts when processing invalid upgrade requests. An attacker can send an upgrade request to a non-Engine.IO path and then abruptly disconnect (triggering ECONNRESET) before the destruction timeout fires. Because the error listener was previously registered inside the setTimeout callback, the socket emits an error event with no listener attached, causing the Node.js process to crash with an uncaught exception. This results in a complete server crash that any unauthenticated remote attacker can trigger.
Register a listener for the error event on all upgrade sockets by adding a global upgrade handler to the HTTP server before attaching Engine.IO:
server.on("upgrade", (req, socket, head) => {
socket.on("error", (err) => {
console.debug(`[Workaround] Upgrade error: ${err.message}`);
});
});