Vulnerability · Published May 8, 2023 · Assigned by GitHub_M

CVE-2023-31125Uncaught exception in engine.io

Medium 6.5

In plain English

A medium-severity security flaw in engine.io from socketio. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.3% (higher than 71% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.5Medium
Exploit odds (30 days)1.3%top 28.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

Engine.IO is the implementation of transport-based cross-browser/cross-device bi-directional communication layer for Socket.IO. An uncaught exception vulnerability was introduced in version 5.1.0 and included in version 4.1.0 of the `socket.io` parent package. Older versions are not impacted. 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 use depending packages like `socket.io`. This issue was fixed in version 6.4.2 of Engine.IO. There is no known workaround except upgrading to a safe version.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npmengine.io6.4.2GHSA-q9mw-68c2-j6m5

Affected products (as reported)

VendorProductVersions
socketio engine.io >= 5.1.0, < 6.4.2

Weakness: CWE-248 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

References