Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
9.8

CVE-2022-2421: socket.io-parser package can be tricked into running unwanted code

CVE-2022-2421 · published 1 day ago
Summary

The JavaScript library socket.io-parser, used in several projects, had a weakness that could let an attacker cause the program to execute code it shouldn't. This could lead to data loss or unauthorized actions. Update to the latest version of the library as provided by the maintainers to close the gap.

What to do
  • Update GitHub Actions socket.io-parser to version 4.2.1.
  • Update GitHub Actions socket.io-parser to version 4.0.5.
  • Update GitHub Actions socket.io-parser to version 3.3.3.
  • Update GitHub Actions socket.io-parser to version 3.4.2.
  • Update socket.io-parser to version 4.0.5-aikido.2.
  • Update rootio @rootio/socket.io-parser to version 4.0.5-root.io.2.
Affected software
Ecosystem VendorProductAffected versions
npm GitHub Actions socket.io-parser >= 4.1.0, < 4.2.1
>= 4.0.0, < 4.0.5
< 3.3.3
>= 3.4.0, < 3.4.2
Fix: upgrade to 4.2.1
– socket socket.io-parser < 3.3.3
>= 3.4.0, < 3.4.2
>= 4.0.0, < 4.0.5
>= 4.1.0, < 4.2.1
cpe:2.3:a:socket:socket.io-parser:*:*:*:*:*:node.js:*:*
Root:npm – socket.io-parser < 4.0.5-aikido.2
Fix: upgrade to 4.0.5-aikido.2
Root:npm rootio @rootio/socket.io-parser < 4.0.5-root.io.2
Fix: upgrade to 4.0.5-root.io.2
Original advisory text
CVE-2022-2421 in socket.io-parser - Patched by Root
Root has patched CVE-2022-2421 in the socket.io-parser package for Root:npm. Multiple fixed versions available.
Fix within
Internet-facing 3 days
Internal 60 days
  • Not known to be exploited
  • Can be exploited automatically
  • Gives an attacker full control
Severity
9.8 Critical
Exploitation
1% chance of attack within 30 days
Type
CWE-20Improper Input Validation
CWE-89SQL Injection
CWE-1287Improper Validation of Specified Type of Input
Timeline
Published11 Nov 2026
Updated11 Nov 2026
First seen6 Mar 2026
Track software like this
Free during beta