Skip to content
OpenAdvisories
High · 7.3 CVE-2023-32695 EUVD-2023-1528GHSA-cqmj-92xf-r6r9

Insufficient validation when decoding a Socket.IO packet

Published May 27, 2023 · Updated Jan 13, 2025 · Assigned by GitHub_M

Description

socket.io parser is a socket.io encoder and decoder written in JavaScript complying with version 5 of socket.io-protocol. A specially crafted Socket.IO packet can trigger an uncaught exception on the Socket.IO server, thus killing the Node.js process. A patch has been released in version 4.2.3.

Affected products

VendorProductAffectedFixed
socketio socket.io-parser >= 4.0.0, < 4.2.3, >= 3.4.0, < 3.4.3 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 node-socket.io-parser 4.2.1+~3.1.0-2 —
Debian 13 node-socket.io-parser 4.2.1+~3.1.0-2 —
Debian 12 node-socket.io-parser 4.2.1+~3.1.0-2 —
ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS node-socket.io-parser No fix yet —
Ubuntu 22.04 LTS node-socket.io-parser No fix yet —
Ubuntu 20.04 LTS node-socket.io-parser No fix yet —
Ubuntu 18.04 LTS node-socket.io-parser No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
npm socket.io-parser >= 4.0.4, < 4.2.3 4.2.3 GHSA-cqmj-92xf-r6r9
npm socket.io-parser >= 3.4.0, < 3.4.3 3.4.3 GHSA-cqmj-92xf-r6r9
npm socket.io-parser < 3.3.4 3.3.4 GHSA-cqmj-92xf-r6r9

Advisories 2

References