{"id":"GHSA-25hc-qcg6-38wj","revision":null,"records":[{"revision":"249856c1b9b94a1eb97cb6692c7c2d9d","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2024-38355","aliases":[],"title":"Unhandled 'error' event in socket.io","description":"Socket.IO is an open source, real-time, bidirectional, event-based, communication framework. A specially crafted Socket.IO packet can trigger an uncaught exception on the Socket.IO server, thus killing the Node.js process. This issue is fixed by commit `15af22fc22` which has been included in `socket.io@4.6.2` (released in May 2023). The fix was backported in the 2.x branch as well with commit `d30630ba10`. Users are advised to upgrade. Users unable to upgrade may attach a listener for the \"error\" event to catch these errors.\n","state":0,"publishedAt":"2024-06-19T19:48:50.193+00:00","modifiedAt":"2024-09-03T20:35:40.515+00:00","affected":[{"ecosystem":"Vendor product","name":"socket.io","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"socketio\",\n                    \"product\": \"socket.io\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 2.5.1\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \">= 3.0.0,< 4.6.2\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","score":7.3,"severity":"HIGH"}],"references":["https://github.com/socketio/socket.io/security/advisories/GHSA-25hc-qcg6-38wj","https://github.com/socketio/socket.io/commit/15af22fc22bc6030fcead322c106f07640336115","https://github.com/socketio/socket.io/commit/d30630ba10562bf987f4d2b42440fc41a828119c"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2024-38355","license":"CVE Program Terms of Use","key":"cve-program:CVE-2024-38355","identifiers":["CVE-2024-38355"]},"retained":false,"historicalAffected":[]},{"revision":"061e5eab6a80423482237a0e9fd46778","observedAt":"2026-11-11T00:42:47.604+00:00","statement":{"source":"euvd","id":"EUVD-2024-1878","aliases":["CVE-2024-38355","GHSA-25hc-qcg6-38wj"],"title":"Socket.IO is an open source, real-time, bidirectional, event-based, communication framework. A specially crafted Socket.IO packet can trigger an uncaught exception on the Socket.IO server, thus killing the Node.js process. This issue is fix…","description":"Socket.IO is an open source, real-time, bidirectional, event-based, communication framework. A specially crafted Socket.IO packet can trigger an uncaught exception on the Socket.IO server, thus killing the Node.js process. This issue is fixed by commit `15af22fc22` which has been included in `socket.io@4.6.2` (released in May 2023). The fix was backported in the 2.x branch as well with commit `d30630ba10`. Users are advised to upgrade. Users unable to upgrade may attach a listener for the \"error\" event to catch these errors.\n","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","score":7.3,"severity":null}],"references":["https://github.com/socketio/socket.io/security/advisories/GHSA-25hc-qcg6-38wj","https://github.com/socketio/socket.io/commit/15af22fc22bc6030fcead322c106f07640336115","https://github.com/socketio/socket.io/commit/d30630ba10562bf987f4d2b42440fc41a828119c"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2024-1878","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Jun 19, 2024, 7:48:50 PM","dateUpdated":"Sep 3, 2024, 8:35:40 PM"},"relatedAdvisories":[{"id":"NCSC-2024-0362","title":"Kwetsbaarheden verholpen in Siemens producten","vulnerabilityIds":["CVE-2006-5051","CVE-2023-28827","CVE-2023-30755","CVE-2023-30756","CVE-2023-46850","CVE-2023-49069","CVE-2024-2004","CVE-2024-2379","CVE-2024-2398","CVE-2024-2466","CVE-2024-6387","CVE-2024-32006","CVE-2024-33698","CVE-2024-34057","CVE-2024-35783","CVE-2024-37990","CVE-2024-37992","CVE-2024-37993","CVE-2024-37994","CVE-2024-37995","CVE-2024-38355","CVE-2024-41170","CVE-2024-41171","CVE-2024-42344","CVE-2024-42345","CVE-2024-43781","CVE-2024-44087","CVE-2024-45032"]},{"id":"SSA-773256","title":"SSA-773256: Impact of Socket.IO CVE-2024-38355 on Siemens Industrial Products","vulnerabilityIds":["CVE-2024-38355"]},{"id":"WID-SEC-W-2024-2091","title":"Siemens SIMATIC WinCC: Mehrere Schwachstellen ermöglichen Denial of Service","vulnerabilityIds":["CVE-2023-28827","CVE-2023-30755","CVE-2023-30756","CVE-2024-38355"]},{"id":"SUSE-SU-2024:3771-1","title":"Security update for pgadmin4","vulnerabilityIds":["CVE-2024-38355","CVE-2024-38998","CVE-2024-38999","CVE-2024-39338","CVE-2024-4067","CVE-2024-4068","CVE-2024-43788","CVE-2024-48948","CVE-2024-48949","CVE-2024-9014"]},{"id":"ICSA-24-256-08","title":"Siemens Industrial Products","vulnerabilityIds":["CVE-2024-38355"]}],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2024-1878","identifiers":["EUVD-2024-1878","CVE-2024-38355","GHSA-25hc-qcg6-38wj"]},"retained":false,"historicalAffected":[]},{"revision":"e4be1fc936224f3fb8f92ccfadceebd7","observedAt":"2026-10-25T00:17:15.977+00:00","statement":{"source":"nvd","id":"CVE-2024-38355","aliases":[],"title":"Socket.IO is an open source, real-time, bidirectional, event-based, communication framework. A specially crafted Socket.IO packet can trigger an uncaught exception on the Socket.IO server, thus killing the Node.js process. This issue is fix…","description":"Socket.IO is an open source, real-time, bidirectional, event-based, communication framework. A specially crafted Socket.IO packet can trigger an uncaught exception on the Socket.IO server, thus killing the Node.js process. This issue is fixed by commit `15af22fc22` which has been included in `socket.io@4.6.2` (released in May 2023). The fix was backported in the 2.x branch as well with commit `d30630ba10`. Users are advised to upgrade. Users unable to upgrade may attach a listener for the \"error\" event to catch these errors.\n","state":0,"publishedAt":"2024-06-19T20:15:11.18+00:00","modifiedAt":"2026-06-17T07:39:58.987+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · security-advisories@github.com · Secondary","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","score":7.3,"severity":"HIGH"}],"references":["https://github.com/socketio/socket.io/commit/15af22fc22bc6030fcead322c106f07640336115","https://github.com/socketio/socket.io/commit/d30630ba10562bf987f4d2b42440fc41a828119c","https://github.com/socketio/socket.io/security/advisories/GHSA-25hc-qcg6-38wj","https://www.vicarius.io/vsociety/posts/unhandled-exception-in-socketio-cve-2024-38355"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2024-38355","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Deferred","weaknesses":["CWE-20","CWE-754"],"productCriteria":[],"sourceDates":{"published":"2024-06-19T20:15:11.180","lastModified":"2026-06-17T07:39:58.987"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2024-38355","identifiers":["CVE-2024-38355"]},"retained":false,"historicalAffected":[]},{"revision":"7a21765394634015950816f7eac4e16b","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-25hc-qcg6-38wj","aliases":["CVE-2024-38355"],"title":"socket.io has an unhandled 'error' event","description":"### Impact\n\nA specially crafted Socket.IO packet can trigger an uncaught exception on the Socket.IO server, thus killing the Node.js process.\n\n```\nnode:events:502\n    throw err; // Unhandled 'error' event\n    ^\n\nError [ERR_UNHANDLED_ERROR]: Unhandled error. (undefined)\n    at new NodeError (node:internal/errors:405:5)\n    at Socket.emit (node:events:500:17)\n    at /myapp/node_modules/socket.io/lib/socket.js:531:14\n    at process.processTicksAndRejections (node:internal/process/task_queues:77:11) {\n  code: 'ERR_UNHANDLED_ERROR',\n  context: undefined\n}\n```\n\n### Affected versions\n\n| Version range    | Needs minor update?                            |\n|------------------|------------------------------------------------|\n| `4.6.2...latest` | Nothing to do               |\n| `3.0.0...4.6.1`  | Please upgrade to `socket.io@4.6.2` (at least) |\n| `2.3.0...2.5.0`  | Please upgrade to `socket.io@2.5.1`            |\n\n### Patches\n\nThis issue is fixed by https://github.com/socketio/socket.io/commit/15af22fc22bc6030fcead322c106f07640336115, included in `socket.io@4.6.2` (released in May 2023).\n\nThe fix was backported in the 2.x branch today: https://github.com/socketio/socket.io/commit/d30630ba10562bf987f4d2b42440fc41a828119c\n\n### Workarounds\n\nAs a workaround for the affected versions of the `socket.io` package, you can attach a listener for the \"error\" event:\n\n```js\nio.on(\"connection\", (socket) => {\n  socket.on(\"error\", () => {\n    // ...\n  });\n});\n```\n\n### For more information\n\nIf you have any questions or comments about this advisory:\n\n- Open a discussion [here](https://github.com/socketio/socket.io/discussions)\n\nThanks a lot to [Paul Taylor](https://github.com/Y0ursTruly) for the responsible disclosure.\n\n### References\n\n- https://github.com/socketio/socket.io/commit/15af22fc22bc6030fcead322c106f07640336115\n- https://github.com/socketio/socket.io/commit/d30630ba10562bf987f4d2b42440fc41a828119c","state":0,"publishedAt":"2024-06-19T15:04:41+00:00","modifiedAt":"2026-09-24T15:00:04.70259+00:00","affected":[{"ecosystem":"npm","name":"socket.io","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"2.5.1"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"npm","name":"socket.io","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"3.0.0"},{"kind":"fixed","version":"4.6.2"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","score":null,"severity":null},{"system":"CVSS_V4","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/socketio/socket.io/security/advisories/GHSA-25hc-qcg6-38wj","https://nvd.nist.gov/vuln/detail/CVE-2024-38355","https://github.com/socketio/socket.io/commit/15af22fc22bc6030fcead322c106f07640336115","https://github.com/socketio/socket.io/commit/d30630ba10562bf987f4d2b42440fc41a828119c","https://github.com/socketio/socket.io"],"sourceUrl":"https://github.com/advisories/GHSA-25hc-qcg6-38wj","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-25hc-qcg6-38wj","identifiers":["GHSA-25hc-qcg6-38wj","CVE-2024-38355"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-12T12:55:42.4262761+00:00","complete":true,"records":1779,"lastAttemptAt":"2026-11-12T12:55:42.4262761+00:00","lastSuccessAt":"2026-11-12T12:55:42.5974366+00:00","error":null,"lastVerifiedAt":"2026-11-12T12:55:42.5974423+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-64752486c567b55b31fb0d7225f5222bcd0019564ac0ac5f0649e242c7b19299-5bccd177289498505bca058c1d1f630384f5399f00540fa3e5d47f20d2a6ab62","complete":true,"records":424657,"lastAttemptAt":"2026-11-12T12:53:35.4399876+00:00","lastSuccessAt":"2026-11-12T12:53:35.3826245+00:00","error":null,"lastVerifiedAt":"2026-11-12T12:53:35.4399876+00:00","snapshotPublishedAt":"2026-11-12T12:31:29+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-0580dcc98aaa46a8935f8ff576f25037","complete":true,"records":13764,"lastAttemptAt":"2026-11-12T12:56:08.7918389+00:00","lastSuccessAt":"2026-11-12T11:56:20.209+00:00","error":null,"lastVerifiedAt":"2026-11-12T11:56:20.209+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13817,"expectedIdentifiers":13817,"failedIdentifiers":0},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-12T12:55:42.4262761+00:00","complete":true,"records":1097,"lastAttemptAt":"2026-11-12T12:55:42.4262761+00:00","lastSuccessAt":"2026-11-12T12:55:42.5982202+00:00","error":null,"lastVerifiedAt":"2026-11-12T12:55:42.5982204+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-8e24d21c65544232af203e5ab569fc84","complete":false,"records":13764,"lastAttemptAt":"2026-11-12T12:56:08.0805262+00:00","lastSuccessAt":"2026-11-12T12:56:08.077+00:00","error":null,"lastVerifiedAt":"2026-11-12T12:56:08.077+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13313,"expectedIdentifiers":13817,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-3562b6c78fd1bd0f0b55daf66a0926ae24f65e462df7f6d928caad458fc696bf","complete":true,"records":9947,"lastAttemptAt":"2026-11-12T12:55:42.268774+00:00","lastSuccessAt":"2026-11-11T04:27:43.6877707+00:00","error":null,"lastVerifiedAt":"2026-11-12T12:55:42.268774+00:00","snapshotPublishedAt":"2026-11-11T03:32:46+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-456002455e0ab94bb92c95476d4e6d175c104cd594749982afd96c893728ecbc","complete":true,"records":2010,"lastAttemptAt":"2026-11-12T12:53:36.536519+00:00","lastSuccessAt":"2026-11-11T02:36:58.1276999+00:00","error":null,"lastVerifiedAt":"2026-11-12T12:53:36.536519+00:00","snapshotPublishedAt":"2026-11-11T01:17:51+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-f46f74c6a30a9b6e4cfb481719c6d35521ebec2d53ebf163223d093ae587eb9d","complete":true,"records":3106,"lastAttemptAt":"2026-11-12T12:55:42.3839893+00:00","lastSuccessAt":"2026-11-12T09:55:31.1176285+00:00","error":null,"lastVerifiedAt":"2026-11-12T12:55:42.3839893+00:00","snapshotPublishedAt":"2026-11-12T09:48:13+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-9fe0abab1a1e38846a00931efa6f1538c21ec4cb4a790552d5b52b39478d28ca","complete":true,"records":231701,"lastAttemptAt":"2026-11-12T12:55:42.1436747+00:00","lastSuccessAt":"2026-11-12T12:55:40.1640864+00:00","error":null,"lastVerifiedAt":"2026-11-12T12:55:42.1436747+00:00","snapshotPublishedAt":"2026-11-12T12:33:30+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}