gsd-2023-31125
Vulnerability from gsd
Modified
2023-12-13 01:20
Details
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.
Aliases
Aliases
{ GSD: { alias: "CVE-2023-31125", id: "GSD-2023-31125", }, gsd: { metadata: { exploitCode: "unknown", remediation: "unknown", reportConfidence: "confirmed", type: "vulnerability", }, osvSchema: { aliases: [ "CVE-2023-31125", ], details: "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.\n", id: "GSD-2023-31125", modified: "2023-12-13T01:20:30.248283Z", schema_version: "1.4.0", }, }, namespaces: { "cve.org": { CVE_data_meta: { ASSIGNER: "security-advisories@github.com", ID: "CVE-2023-31125", STATE: "PUBLIC", }, affects: { vendor: { vendor_data: [ { product: { product_data: [ { product_name: "engine.io", version: { version_data: [ { version_affected: "=", version_value: ">= 5.1.0, < 6.4.2", }, ], }, }, ], }, vendor_name: "socketio", }, ], }, }, data_format: "MITRE", data_type: "CVE", data_version: "4.0", description: { description_data: [ { lang: "eng", value: "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.\n", }, ], }, impact: { cvss: [ { attackComplexity: "LOW", attackVector: "NETWORK", availabilityImpact: "HIGH", baseScore: 6.5, baseSeverity: "MEDIUM", confidentialityImpact: "NONE", integrityImpact: "NONE", privilegesRequired: "LOW", scope: "UNCHANGED", userInteraction: "NONE", vectorString: "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H", version: "3.1", }, ], }, problemtype: { problemtype_data: [ { description: [ { cweId: "CWE-248", lang: "eng", value: "CWE-248: Uncaught Exception", }, ], }, ], }, references: { reference_data: [ { name: "https://github.com/socketio/engine.io/security/advisories/GHSA-q9mw-68c2-j6m5", refsource: "MISC", url: "https://github.com/socketio/engine.io/security/advisories/GHSA-q9mw-68c2-j6m5", }, { name: "https://github.com/socketio/engine.io/commit/fc480b4f305e16fe5972cf337d055e598372dc44", refsource: "MISC", url: "https://github.com/socketio/engine.io/commit/fc480b4f305e16fe5972cf337d055e598372dc44", }, { name: "https://github.com/socketio/engine.io/releases/tag/6.4.2", refsource: "MISC", url: "https://github.com/socketio/engine.io/releases/tag/6.4.2", }, { name: "https://security.netapp.com/advisory/ntap-20230622-0002/", refsource: "MISC", url: "https://security.netapp.com/advisory/ntap-20230622-0002/", }, ], }, source: { advisory: "GHSA-q9mw-68c2-j6m5", discovery: "UNKNOWN", }, }, "gitlab.com": { advisories: [ { affected_range: ">=5.1.0 <6.4.2", affected_versions: "All versions starting from 5.1.0 before 6.4.2", cvss_v3: "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H", cwe_ids: [ "CWE-1035", "CWE-248", "CWE-937", ], date: "2023-06-22", description: "A specially crafted HTTP request can trigger an uncaught exception on the Engine.IO server, thus killing the Node.js process.\n\n```\nTypeError: Cannot read properties of undefined (reading 'handlesUpgrades')\n at Server.onWebSocket (build/server.js:515:67)\n```\n\nThis 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).\n\n A fix has been released today (2023/05/02): [6.4.2](https://github.com/socketio/engine.io/releases/tag/6.4.2) \n\nThis bug 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.\n\nFor `socket.io` users:\n\n - `socket.io@4.6.x` `~6.4.0` `npm audit fix` should be sufficient\n - `socket.io@4.5.x` `~6.2.0` Please upgrade to `socket.io@4.6.x`\n - `socket.io@4.4.x` `~6.1.0` Please upgrade to `socket.io@4.6.x`\n - `socket.io@4.3.x` `~6.0.0` Please upgrade to `socket.io@4.6.x`\n - `socket.io@4.2.x` `~5.2.0` Please upgrade to `socket.io@4.6.x`\n - `socket.io@4.1.x` `~5.1.1` Please upgrade to `socket.io@4.6.x`\n - `socket.io@4.0.x` `~5.0.0` Not impacted\n - `socket.io@3.1.x` `~4.1.0` Not impacted\n - `socket.io@3.0.x` `~4.0.0` Not impacted\n - `socket.io@2.5.0` `~3.6.0` Not impacted\n - `socket.io@2.4.x` and below `~3.5.0` Not impacted \n\n There is no known workaround except upgrading to a safe version.\n\n If you have any questions or comments about this advisory open an issue in [`engine.io`](https://github.com/socketio/engine.io)\n\n Thanks to Thomas Rinsma from Codean for the responsible disclosure.\n", fixed_versions: [ "6.4.2", ], identifier: "CVE-2023-31125", identifiers: [ "CVE-2023-31125", "GHSA-q9mw-68c2-j6m5", ], not_impacted: "All versions before 5.1.0, all versions starting from 6.4.2", package_slug: "npm/engine.io", pubdate: "2023-05-08", solution: "Upgrade to version 6.4.2 or above.", title: "engine.io Uncaught Exception vulnerability", urls: [ "https://github.com/socketio/engine.io/security/advisories/GHSA-q9mw-68c2-j6m5", "https://github.com/socketio/engine.io/commit/fc480b4f305e16fe5972cf337d055e598372dc44", "https://github.com/socketio/engine.io/releases/tag/6.4.2", "https://github.com/advisories/GHSA-q9mw-68c2-j6m5", ], uuid: "3f0f8972-bf1d-41c7-9118-644df8481d60", }, ], }, "nvd.nist.gov": { configurations: { CVE_data_version: "4.0", nodes: [ { children: [], cpe_match: [ { cpe23Uri: "cpe:2.3:a:socket:engine.io:*:*:*:*:*:node.js:*:*", cpe_name: [], versionEndExcluding: "6.4.2", versionStartIncluding: "5.1.0", vulnerable: true, }, ], operator: "OR", }, ], }, cve: { CVE_data_meta: { ASSIGNER: "security-advisories@github.com", ID: "CVE-2023-31125", }, data_format: "MITRE", data_type: "CVE", data_version: "4.0", description: { description_data: [ { lang: "en", value: "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.\n", }, ], }, problemtype: { problemtype_data: [ { description: [ { lang: "en", value: "CWE-248", }, ], }, ], }, references: { reference_data: [ { name: "https://github.com/socketio/engine.io/releases/tag/6.4.2", refsource: "MISC", tags: [ "Release Notes", ], url: "https://github.com/socketio/engine.io/releases/tag/6.4.2", }, { name: "https://github.com/socketio/engine.io/commit/fc480b4f305e16fe5972cf337d055e598372dc44", refsource: "MISC", tags: [ "Patch", ], url: "https://github.com/socketio/engine.io/commit/fc480b4f305e16fe5972cf337d055e598372dc44", }, { name: "https://github.com/socketio/engine.io/security/advisories/GHSA-q9mw-68c2-j6m5", refsource: "MISC", tags: [ "Vendor Advisory", ], url: "https://github.com/socketio/engine.io/security/advisories/GHSA-q9mw-68c2-j6m5", }, { name: "https://security.netapp.com/advisory/ntap-20230622-0002/", refsource: "MISC", tags: [], url: "https://security.netapp.com/advisory/ntap-20230622-0002/", }, ], }, }, impact: { baseMetricV3: { cvssV3: { attackComplexity: "LOW", attackVector: "NETWORK", availabilityImpact: "HIGH", baseScore: 6.5, baseSeverity: "MEDIUM", confidentialityImpact: "NONE", integrityImpact: "NONE", privilegesRequired: "LOW", scope: "UNCHANGED", userInteraction: "NONE", vectorString: "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H", version: "3.1", }, exploitabilityScore: 2.8, impactScore: 3.6, }, }, lastModifiedDate: "2023-06-22T15:15Z", publishedDate: "2023-05-08T21:15Z", }, }, }
Log in or create an account to share your comment.
Security Advisory comment format.
This schema specifies the format of a comment related to a security advisory.
Title of the comment
Description of the comment
Loading…
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.