Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. engine.io
  4. ›
  5. CVE-2022-41940

CVE-2022-41940: Uncaught Exception

November 22, 2022 (updated November 26, 2022)

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.

References

  • github.com/advisories/GHSA-r7qp-cfhv-p84w
  • github.com/socketio/engine.io/security/advisories/GHSA-r7qp-cfhv-p84w

Code Behaviors & Features

Detect and mitigate CVE-2022-41940 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 3.6.1, all versions starting from 4.0.0 before 6.2.1

Fixed versions

  • 3.6.1
  • 6.2.1

Solution

Upgrade to versions 3.6.1, 6.2.1 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-248: Uncaught Exception

Source file

npm/engine.io/CVE-2022-41940.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:58 +0000.