CVE-2022-41940 json
Uncaught exception in engine.io
published 3y ago modified 4mo ago also GHSA-r7qp-cfhv-p84w , EUVD-2022-7419
- cvss
- 7.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.1%
- EPSS 2.1% chance of exploitation in 30 days, percentile 81%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm engine.io 3.6.1, 6.2.1
- socket engine.io 3.6.1, 6.2.1
Is CVE-2022-41940 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-41940 updated cvss 6.5
engine.io: Specially crafted HTTP request can trigger an uncaught exception
-
Red Hat JBoss Data Grid 7 engine.ioaffected: no fix planned “Out of support scope”
-
Red Hat Quay 3 quay/quay-rhel8affected: no fix planned “Will not fix”
-
Red Hat Fuse 7.12fixed: vendor fix RHSA-2023:3954
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- last yr.
Exploit prediction
2.11% chance of exploitation in the next 30 days, higher than 81% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- github.com https://github.com/socketio/engine.io/security/advisories/GHSA-r7qp-cfhv-p84w referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:H |
| NVD | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | engine.io | <3.6.1 >=4.0.0, <6.2.1 |
3.6.1 6.2.1 |
Affected products
- socketio engine.io
Classification
- Weakness
-
- CWE-248 Uncaught Exception
References
-
github.com
/socketio/engine.io/commit/425e833ab13373edf1dd5a0706f07100db14e3c6
web, patch, third-party-advisory
-
github.com
/socketio/engine.io/commit/83c4071af871fc188298d7d591e95670bf9f9085
web, patch, third-party-advisory
-
github.com
/socketio/engine.io/security/advisories/GHSA-r7qp-cfhv-p84w
web, exploit, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-41940
advisory
-
github.com
/socketio/engine.io
package
Sources
- CVE List CVE-2022-41940
- GitHub Advisory GHSA-r7qp-cfhv-p84w
- NVD CVE-2022-41940
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.