CVE-2023-32695: Insufficient validation when decoding a Socket.IO packet
(updated )
A specially crafted Socket.IO packet can trigger an uncaught exception on the Socket.IO server, thus killing the Node.js process.
TypeError: Cannot convert object to primitive value
at Socket.emit (node:events:507:25)
at .../node_modules/socket.io/lib/socket.js:531:14
References
- github.com/advisories/GHSA-cqmj-92xf-r6r9
- github.com/socketio/socket.io-parser
- github.com/socketio/socket.io-parser/commit/1c220ddbf45ea4b44bc8dbf6f9ae245f672ba1b9
- github.com/socketio/socket.io-parser/commit/2dc3c92622dad113b8676be06f23b1ed46b02ced
- github.com/socketio/socket.io-parser/commit/3b78117bf6ba7e99d7a5cfc1ba54d0477554a7f3
- github.com/socketio/socket.io-parser/commit/ee006607495eca4ec7262ad080dd3a91439a5ba4
- github.com/socketio/socket.io-parser/releases/tag/4.2.3
- github.com/socketio/socket.io-parser/security/advisories/GHSA-cqmj-92xf-r6r9
- nvd.nist.gov/vuln/detail/CVE-2023-32695
Code Behaviors & Features
Detect and mitigate CVE-2023-32695 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →