Skip to content
Heist/ feed
Back to feed
Medium

Uncaught exception in engine.io

Type: advisorySources: OSV

Engine.IO is the implementation of transport-based cross-browser/cross-device bi-directional communication layer for Socket.IO. An uncaught exception vulnerability was introduced in version 5.1.0 and included in version 4.1.0 of the `socket.io` parent package. Older versions are not impacted. 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 use depending packages like `socket.io`. This issue was fixed in version 6.4.2 of Engine.IO. There is no known workaround except upgrading to a safe version.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2023-31125
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 06:20 UTC · Revision 1

Source evidence

Uncaught exception in engine.io

core-osv · Original source

Published 8 May 2023, 20:21 UTC

Engine.IO is the implementation of transport-based cross-browser/cross-device bi-directional communication layer for Socket.IO. An uncaught exception vulnerability was introduced in version 5.1.0 and included in version 4.1.0 of the `socket.io` parent package. Older versions are not impacted. 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 use depending packages like `socket.io`. This issue was fixed in version 6.4.2 of Engine.IO. There is no known workaround except upgrading to a safe version.

osv:CVE-2023-31125
Complete source record
{
  "id": "8fe1f6540cb1202409708878469be042cd0c4ef8260efb33d70655bdcc12fcf5",
  "url": "https://osv.dev/vulnerability/CVE-2023-31125",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Uncaught exception in engine.io",
    "summary": "Engine.IO is the implementation of transport-based cross-browser/cross-device bi-directional communication layer for Socket.IO. An uncaught exception vulnerability was introduced in version 5.1.0 and included in version 4.1.0 of the `socket.io` parent package. Older versions are not impacted. 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 use depending packages like `socket.io`. This issue was fixed in version 6.4.2 of Engine.IO. There is no known workaround except upgrading to a safe version.",
    "evidence": "osv:CVE-2023-31125",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2023-31125",
      "aliases": [
        "CVE-2023-31125",
        "GHSA-q9mw-68c2-j6m5"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/socketio/engine.io",
              "type": "GIT",
              "events": [
                {
                  "introduced": "8c9bd9262f1c664722194c8c321cba947cf0bf54"
                },
                {
                  "fixed": "95e215387c589025dde3982865bf8c862d049469"
                },
                {
                  "fixed": "fc480b4f305e16fe5972cf337d055e598372dc44"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:socket:engine.io:*:*:*:*:*:node.js:*:*",
                    "range": [
                      {
                        "introduced": "5.1.0"
                      },
                      {
                        "fixed": "6.4.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "fc480b4f305e16fe5972cf337d055e598372dc44"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "95e215387c589025dde3982865bf8c862d049469"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "6.4.2"
                  }
                ]
              }
            }
          ],
          "versions": [
            "6.4.1",
            "6.4.0",
            "6.3.1",
            "6.3.0",
            "6.2.1",
            "6.2.0",
            "6.1.3",
            "6.1.2",
            "6.1.1",
            "5.2.0",
            "6.1.0",
            "6.0.0",
            "5.1.1",
            "5.1.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-31125.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:26.262067210Z",
      "provider": "osv",
      "references": [
        "https://github.com/socketio/engine.io/releases/tag/6.4.2",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/31xxx/CVE-2023-31125.json",
        "https://github.com/socketio/engine.io/security/advisories/GHSA-q9mw-68c2-j6m5",
        "https://nvd.nist.gov/vuln/detail/CVE-2023-31125",
        "https://security.netapp.com/advisory/ntap-20230622-0002/",
        "https://github.com/socketio/engine.io/commit/fc480b4f305e16fe5972cf337d055e598372dc44"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-248"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/31xxx/CVE-2023-31125.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2023-31125",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 493012,
  "published_at": "2023-05-08T20:21:01.341+00:00"
}