Critical Socket.IO Parser Vulnerability in node-socket.io-parser: Uncaught Exception Risk

node-socket.io-parser Updated 02 Oct 2025

Summary

27/05/2023
N/A
Yes i
High
7.5

CVE-2023-32695: socket.io parser is a socket.io encoder and decoder written in JavaScript complying with version 5 of socket.io-protocol. Affects node-socket.io-parser across 4 version ranges.

< 2dc3c92622dad113b8676be06f23b1ed46b02ced < 3b78117bf6ba7e99d7a5cfc1ba54d0477554a7f3 < 4.2.1+~3.1.0-2 < b6c824f82421aa44dfd5ef395f5132866543de59

Fixed in 4.2.1+~3.1.0-2. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The node-socket.io-parser is a JavaScript library that serves as an encoder and decoder for Socket.IO, adhering to version 5 of the socket.io-protocol. It is widely used in real-time web applications to facilitate bi-directional communication between clients and servers. This package is essential for handling Socket.IO packets efficiently, but it has been found vulnerable to a specific issue that can lead to server crashes.

Vulnerability Detail

The vulnerability, identified as CVE-2023-32695, arises from a flaw in the socket.io parser that allows specially crafted Socket.IO packets to trigger uncaught exceptions on the Socket.IO server. This can result in the termination of the Node.js process, leading to potential downtime and service disruption. The vulnerability is particularly concerning as it can be exploited without authentication, making it accessible to attackers who can send malicious packets to the server.

How To Fix

Minimum fixed version

4.2.1+~3.1.0-2

This is the first release that contains the fix.

sudo apt-get install --only-upgrade node-socket.io-parser

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

If immediate updating is not feasible, consider implementing input validation to sanitize incoming Socket.IO packets. This can help mitigate the risk of triggering the uncaught exception until a proper update can be applied.

Conclusion

The CVE-2023-32695 vulnerability in the node-socket.io-parser poses a significant risk to applications using this package, as it can lead to server crashes. It is crucial to update to the latest version to mitigate this risk and ensure the stability of your applications.

See every vulnerability recorded for node-socket.io-parser →

Share this vulnerability

FAQ

CVE-2023-32695 is a vulnerability in the node-socket.io-parser that can cause the Node.js server to crash due to uncaught exceptions triggered by specially crafted Socket.IO packets.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Simply upload your manifest file like package-lock.json to check for vulnerabilities.

The CVSS score for this vulnerability is 7.5, indicating a high severity level that requires prompt attention.

Implement input validation to sanitize incoming packets as a temporary workaround until you can apply the necessary updates.

Detailed information can be found in the official CVE database or by visiting the GitHub repository for socket.io-parser.

Related vulnerabilities

Recent vulnerabilities recorded for node-socket.io-parser.

How To Fix

Minimum fixed version

4.2.1+~3.1.0-2

This is the first release that contains the fix.

sudo apt-get install --only-upgrade node-socket.io-parser

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback