engine-io

Ecosystem: npm

Downloads: 83.22 Mln

Vulnerabilities from the last (months)
  • 0CriticalAffects 0 versions
  • 5HighAffects 7 versions
  • 0MediumAffects 0 versions
  • 2ModerateAffects 3 versions
  • 0LowAffects 0 versions
Severity distribution (all time)
7vulnerabilities
  • Critical0 (0.0%)
  • High5 (71.4%)
  • Medium0 (0.0%)
  • Moderate2 (28.6%)
  • Low0 (0.0%)

Monthly breakdown

  • Critical
  • High
  • Medium
  • Moderate
  • Low
  • 1 vulnerabilities
    • Critical: 0
    • High: 1
    • Medium: 0
    • Moderate: 0
    • Low: 0
  • 1 vulnerabilities
    • Critical: 0
    • High: 1
    • Medium: 0
    • Moderate: 0
    • Low: 0
  • 1 vulnerabilities
    • Critical: 0
    • High: 1
    • Medium: 0
    • Moderate: 0
    • Low: 0
  • 1 vulnerabilities
    • Critical: 0
    • High: 0
    • Medium: 0
    • Moderate: 1
    • Low: 0
  • 1 vulnerabilities
    • Critical: 0
    • High: 0
    • Medium: 0
    • Moderate: 1
    • Low: 0
  • 1 vulnerabilities
    • Critical: 0
    • High: 1
    • Medium: 0
    • Moderate: 0
    • Low: 0
  • 1 vulnerabilities
    • Critical: 0
    • High: 1
    • Medium: 0
    • Moderate: 0
    • Low: 0

Vulnerabilities (7)

Known vulnerabilities affecting engine-io, based on data from OSV.

Vulnerabilities affecting engine-io
IDSeveritySummaryAffected versionsPublishedSource
GHSA-2gc4-cqfq-p2gvHighSocket.IO: Engine.IO Protocol Revision Mismatch DoS### Impact A denial-of-service vulnerability exists in Engine.IO / Socket.IO servers that allow transport upgrades. The Engine.IO protocol revision is negotiated during the initial handshake and stored on the session, but a newly-created transport, including a WebSocket upgrade transport, could independently derive a different protocol revision from the upgrade request query parameters. The server did not verify that the protocol revision of an upgrade request matched the protocol revision of the existing session. A malicious client could exploit this mismatch by establishing a valid Engine
  • >= 6.6.0, < 6.6.10
GitHub (opens in a new tab)
GHSA-gr94-w7qr-f4j3HighSocket.IO: Engine.IO WebTransport SID DoS### Impact Engine.IO servers with **WebTransport enabled** are vulnerable to a remotely triggerable denial of service. A malicious unauthenticated client can send a crafted WebTransport upgrade request containing a specially chosen session ID, such as `__proto__`. Because the session ID lookup did not properly verify that the key was an own property of the clients object, the lookup could resolve to an inherited prototype property instead of a valid Engine.IO client. This can cause a `TypeError` during WebTransport upgrade handling. Since the failure occurs in an asynchronous context, it ma
  • >= 6.5.0, < 6.6.7
GitHub (opens in a new tab)
GHSA-r635-g3xr-vw7xHighSocket.IO: Engine.IO Polling Transport Connection Exhaustion### Impact An unauthenticated remote attacker can cause a denial of service in affected versions of **engine.io** by opening Engine.IO polling sessions and sending an invalid binary `POST` request with: ``` Content-Type: application/octet-stream ``` against an Engine.IO protocol v4 polling transport. In the vulnerable code path, the server reports a transport error but does not properly close the HTTP response associated with the malformed request. As a result, the underlying HTTP connection may remain open, consuming one server-side socket/resource per crafted request. An attacker can r
  • >= 4.1.0, < 6.6.7
GitHub (opens in a new tab)
GHSA-q9mw-68c2-j6m5Moderateengine.io Uncaught Exception vulnerability### Impact A specially crafted HTTP request can trigger an uncaught exception on the Engine.IO server, thus killing the Node.js process. ``` TypeError: Cannot read properties of undefined (reading 'handlesUpgrades') at Server.onWebSocket (build/server.js:515:67) ``` This impacts all the users of the [`engine.io`](https://www.npmjs.com/package/engine.io) package, including those who uses depending packages like [`socket.io`](https://www.npmjs.com/package/socket.io). ### Patches A fix has been released today (2023/05/02): [6.4.2](https://github.com/socketio/engine.io/releases/tag/6.4.2)
  • >= 5.1.0, < 6.4.2
GitHub (opens in a new tab)
GHSA-r7qp-cfhv-p84wModerateUncaught exception in engine.io### Impact A specially crafted HTTP request can trigger an uncaught exception on the Engine.IO server, thus killing the Node.js process. ``` events.js:292 throw er; // Unhandled 'error' event ^ Error: read ECONNRESET at TCP.onStreamRead (internal/stream_base_commons.js:209:20) Emitted 'error' event on Socket instance at: at emitErrorNT (internal/streams/destroy.js:106:8) at emitErrorCloseNT (internal/streams/destroy.js:74:3) at processTicksAndRejections (internal/process/task_queues.js:80:21) { errno: -104, code: 'ECONNRESET', syscall: 'read' } ``` This im
  • < 3.6.1
  • >= 4.0.0, < 6.2.1
GitHub (opens in a new tab)
GHSA-j4f2-536g-r55mHighResource exhaustion in engine.ioEngine.IO before 4.0.0 and 3.6.0 allows attackers to cause a denial of service (resource consumption) via a POST request to the long polling transport.
  • < 3.6.0
GitHub (opens in a new tab)
GHSA-273r-mgr4-v34fHighUncaught Exception in engine.io### Impact A specially crafted HTTP request can trigger an uncaught exception on the Engine.IO server, thus killing the Node.js process. > RangeError: Invalid WebSocket frame: RSV2 and RSV3 must be clear > at Receiver.getInfo (/.../node_modules/ws/lib/receiver.js:176:14) > at Receiver.startLoop (/.../node_modules/ws/lib/receiver.js:136:22) > at Receiver._write (/.../node_modules/ws/lib/receiver.js:83:10) > at writeOrBuffer (internal/streams/writable.js:358:12) This impacts all the users of the [`engine.io`](https://www.npmjs.com/package/engine.io) package starting from version `4.0.
  • >= 4.0.0, < 4.1.2
  • >= 5.0.0, < 5.2.1
  • >= 6.0.0, < 6.1.1
GitHub (opens in a new tab)
  • GHSA-2gc4-cqfq-p2gvHigh
    Socket.IO: Engine.IO Protocol Revision Mismatch DoS
    • >= 6.6.0, < 6.6.10

    ### Impact A denial-of-service vulnerability exists in Engine.IO / Socket.IO servers that allow transport upgrades. The Engine.IO protocol revision is negotiated during the initial handshake and stored on the session, but a newly-created transport, including a WebSocket upgrade transport, could independently derive a different protocol revision from the upgrade request query parameters. The server did not verify that the protocol revision of an upgrade request matched the protocol revision of the existing session. A malicious client could exploit this mismatch by establishing a valid Engine

    CVE: CVE-2026-102599

  • GHSA-gr94-w7qr-f4j3High
    Socket.IO: Engine.IO WebTransport SID DoS
    • >= 6.5.0, < 6.6.7

    ### Impact Engine.IO servers with **WebTransport enabled** are vulnerable to a remotely triggerable denial of service. A malicious unauthenticated client can send a crafted WebTransport upgrade request containing a specially chosen session ID, such as `__proto__`. Because the session ID lookup did not properly verify that the key was an own property of the clients object, the lookup could resolve to an inherited prototype property instead of a valid Engine.IO client. This can cause a `TypeError` during WebTransport upgrade handling. Since the failure occurs in an asynchronous context, it ma

    CVE: CVE-2026-59724

  • GHSA-r635-g3xr-vw7xHigh
    Socket.IO: Engine.IO Polling Transport Connection Exhaustion
    • >= 4.1.0, < 6.6.7

    ### Impact An unauthenticated remote attacker can cause a denial of service in affected versions of **engine.io** by opening Engine.IO polling sessions and sending an invalid binary `POST` request with: ``` Content-Type: application/octet-stream ``` against an Engine.IO protocol v4 polling transport. In the vulnerable code path, the server reports a transport error but does not properly close the HTTP response associated with the malformed request. As a result, the underlying HTTP connection may remain open, consuming one server-side socket/resource per crafted request. An attacker can r

    CVE: CVE-2026-59725

  • GHSA-q9mw-68c2-j6m5Moderate
    engine.io Uncaught Exception vulnerability
    • >= 5.1.0, < 6.4.2

    ### Impact A specially crafted HTTP request can trigger an uncaught exception on the Engine.IO server, thus killing the Node.js process. ``` TypeError: Cannot read properties of undefined (reading 'handlesUpgrades') at Server.onWebSocket (build/server.js:515:67) ``` This impacts all the users of the [`engine.io`](https://www.npmjs.com/package/engine.io) package, including those who uses depending packages like [`socket.io`](https://www.npmjs.com/package/socket.io). ### Patches A fix has been released today (2023/05/02): [6.4.2](https://github.com/socketio/engine.io/releases/tag/6.4.2)

    CVE: CVE-2023-31125

  • GHSA-r7qp-cfhv-p84wModerate
    Uncaught exception in engine.io
    • < 3.6.1
    • >= 4.0.0, < 6.2.1

    ### Impact A specially crafted HTTP request can trigger an uncaught exception on the Engine.IO server, thus killing the Node.js process. ``` events.js:292 throw er; // Unhandled 'error' event ^ Error: read ECONNRESET at TCP.onStreamRead (internal/stream_base_commons.js:209:20) Emitted 'error' event on Socket instance at: at emitErrorNT (internal/streams/destroy.js:106:8) at emitErrorCloseNT (internal/streams/destroy.js:74:3) at processTicksAndRejections (internal/process/task_queues.js:80:21) { errno: -104, code: 'ECONNRESET', syscall: 'read' } ``` This im

    CVE: CVE-2022-41940

  • GHSA-j4f2-536g-r55mHigh
    Resource exhaustion in engine.io
    • < 3.6.0

    Engine.IO before 4.0.0 and 3.6.0 allows attackers to cause a denial of service (resource consumption) via a POST request to the long polling transport.

    CVE: CVE-2020-36048

  • GHSA-273r-mgr4-v34fHigh
    Uncaught Exception in engine.io
    • >= 4.0.0, < 4.1.2
    • >= 5.0.0, < 5.2.1
    • +1 more
    Affected versions:
    • >= 4.0.0, < 4.1.2
    • >= 5.0.0, < 5.2.1
    • >= 6.0.0, < 6.1.1

    ### Impact A specially crafted HTTP request can trigger an uncaught exception on the Engine.IO server, thus killing the Node.js process. > RangeError: Invalid WebSocket frame: RSV2 and RSV3 must be clear > at Receiver.getInfo (/.../node_modules/ws/lib/receiver.js:176:14) > at Receiver.startLoop (/.../node_modules/ws/lib/receiver.js:136:22) > at Receiver._write (/.../node_modules/ws/lib/receiver.js:83:10) > at writeOrBuffer (internal/streams/writable.js:358:12) This impacts all the users of the [`engine.io`](https://www.npmjs.com/package/engine.io) package starting from version `4.0.

    CVE: CVE-2022-21676

Showing 1-7 of 7 vulnerabilities