CVE-2023-31125: socket engine.io Uncaught Exception
Vulnerability summary
CVE-2023-31125 is a medium (CVSS 6.5) Uncaught Exception vulnerability in socket engine.io. EPSS estimates a 1.33% chance of exploitation in the next 30 days, higher than 70.5% of scored vulnerabilities.
Timeline
- 08-05-2023PublishedVulnerability first disclosed.
- 13-02-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · NpmEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- NVDNIST6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
1.33%
Chance of exploitation in the next 30 days
Percentile
71%
Versus all other CVEs
30-day change
0.00 pp
From 1.33% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Npm1 product
- engine.io≥ 5.1.0, < 6.4.2
Socket1 product
- engine.io≥ 5.1.0, < 6.4.2
Socketio1 product
- engine.io≥ 5.1.0, < 6.4.2
3 vendors · 3 products
References
7 links- github.com/socketio/engine.io/security/advisories/GHSA-q9mw-68c2-j6m5X Refsource CONFIRMWEBVendor Advisory
- github.com/socketio/engine.io/commit/fc480b4f305e16fe5972cf337d055e598372dc44X Refsource MISCWEBPatch