{"id":"CVE-2022-21676","published":"2022-01-12T18:25:15Z","modified":"2025-04-23T19:13:15Z","title":"Uncaught Exception in engine.io","vendor":"socketio","product":"engine.io","tier":"tail","description":{"text":"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 starting from version `4.0.0`, including those who uses depending packages like `socket.io`. Versions prior to `4.0.0` are not impacted. A fix has been released for each major branch, namely `4.1.2` for the `4.x.x` branch, `5.2.1` for the `5.x.x` branch, and `6.1.1` for the `6.x.x` branch. There is no known workaround except upgrading to a safe version.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0276,"percentile":0.86265,"provenance":"source"},"cwes":[{"id":"CWE-754","name":"Improper Check for Unusual or Exceptional Conditions"}],"references":[{"url":"https://github.com/socketio/engine.io/security/advisories/GHSA-273r-mgr4-v34f","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/socketio/engine.io/commit/66f889fc1d966bf5bfa0de1939069153643874ab","tags":["x_refsource_MISC"]},{"url":"https://github.com/socketio/engine.io/commit/a70800d7e96da32f6e6622804ef659ebc58659db","tags":["x_refsource_MISC"]},{"url":"https://github.com/socketio/engine.io/commit/c0e194d44933bd83bf9a4b126fca68ba7bf5098c","tags":["x_refsource_MISC"]},{"url":"https://github.com/socketio/engine.io/releases/tag/4.1.2","tags":["x_refsource_MISC"]},{"url":"https://github.com/socketio/engine.io/releases/tag/5.2.1","tags":["x_refsource_MISC"]},{"url":"https://github.com/socketio/engine.io/releases/tag/6.1.1","tags":["x_refsource_MISC"]},{"url":"https://security.netapp.com/advisory/ntap-20220209-0002/","tags":["x_refsource_CONFIRM"]}],"priority":{"score":22.5,"factors":[{"name":"EPSS percentile","points":17.25},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"socketio","affectedVersions":[{"vendor":"socketio","product":"engine.io","versions":[">= 4.0.0, < 4.1.2",">= 5.0.0, < 5.2.1",">= 6.0.0, < 6.1.1"]}],"affected":[{"ecosystem":"npm","package":"engine.io","vulnerableRanges":[">=4.0.0, <4.1.2",">=5.0.0, <5.2.1",">=6.0.0, <6.1.1"],"patched":["4.1.2","5.2.1","6.1.1"],"from":["GHSA-273r-mgr4-v34f"],"provenance":"source"}],"euvd":{"id":"EUVD-2022-0421","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2020-36048","published":"2021-01-07","fixed":"3.6.0","kev":false},{"cve":"CVE-2022-21676","published":"2022-01-12","fixed":"6.1.1","kev":false},{"cve":"CVE-2022-41940","published":"2022-11-22","fixed":"6.2.1","kev":false,"link":{"from":"CVE-2022-21676","to":"CVE-2022-41940","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:engine.io","fromFixed":"6.1.1","toFixed":"6.2.1","daysApart":314}]}},{"cve":"CVE-2023-31125","published":"2023-05-08","fixed":"6.4.2","kev":false},{"cve":"CVE-2026-59724","published":"2026-07-08","fixed":"6.6.7","kev":false}],"package":"npm:engine.io"}}