Vulnerability · Published May 27, 2023 · Assigned by GitHub_M

CVE-2023-32695Insufficient validation when decoding a Socket.IO packet

High 7.3

In plain English

A high-severity improper input validation in socket.io-parser from socketio. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.1% (higher than 65% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.3High
Exploit odds (30 days)1.1%top 35.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12node-socket.io-parser4.2.1+~3.1.0-2DEBIAN-CVE-2023-32695
Debian:13node-socket.io-parser4.2.1+~3.1.0-2DEBIAN-CVE-2023-32695
Debian:14node-socket.io-parser4.2.1+~3.1.0-2DEBIAN-CVE-2023-32695
Ubuntu:22.04:LTSnode-socket.io-parserno fix listedUBUNTU-CVE-2023-32695
Ubuntu:24.04:LTSnode-socket.io-parserno fix listedUBUNTU-CVE-2023-32695
npmsocket.io-parser3.3.4GHSA-cqmj-92xf-r6r9
npmsocket.io-parser3.4.3GHSA-cqmj-92xf-r6r9
npmsocket.io-parser4.2.3GHSA-cqmj-92xf-r6r9

Affected products (as reported)

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

Weakness: CWE-20 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

References