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

CVE-2022-21676: Improper Check for Unusual or Exceptional Conditions

January 12, 2022 (updated June 27, 2023)

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.

References

  • github.com/socketio/engine.io/commit/66f889fc1d966bf5bfa0de1939069153643874ab
  • github.com/socketio/engine.io/commit/a70800d7e96da32f6e6622804ef659ebc58659db
  • github.com/socketio/engine.io/commit/c0e194d44933bd83bf9a4b126fca68ba7bf5098c
  • github.com/socketio/engine.io/releases/tag/4.1.2
  • github.com/socketio/engine.io/releases/tag/5.2.1
  • github.com/socketio/engine.io/releases/tag/6.1.1
  • github.com/socketio/engine.io/security/advisories/GHSA-273r-mgr4-v34f
  • nvd.nist.gov/vuln/detail/CVE-2022-21676

Code Behaviors & Features

Detect and mitigate CVE-2022-21676 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 starting from 4.0.0 before 4.1.2, all versions starting from 5.0.0 before 5.2.1, all versions starting from 6.0.0 before 6.1.1

Fixed versions

  • 4.1.2
  • 5.2.1
  • 6.1.1

Solution

Upgrade to versions 4.1.2, 5.2.1, 6.1.1 or above.

Impact 7.5 HIGH

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

Learn more about CVSS

Weakness

  • CWE-755: Improper Handling of Exceptional Conditions

Source file

npm/engine.io/CVE-2022-21676.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:09 +0000.