CVE-2022-2421Published Oct 25, 2022 · Oct 25Updated Oct 28
Socket.io - Improper type validation in attachment parsing
Socket.io-Parser
Critical10.0Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| socket.io-parser npm |
|
|
Socket.io-Parser
| Product | Affected | Fixed in |
|---|---|---|
| socket.io-parser npm |
|
|
Due to improper type validation in attachment parsing the Socket.io js library, it is possible to overwrite the _placeholder object which allows an attacker to place references to functions at arbitrary places in the resulting query object.
From the CVE record · DIVD
Socket.io-Parser improperly validates types while parsing attachments. An attacker can overwrite the _placeholder object and place references to functions at arbitrary locations in the resulting query object. The input does not specify whether authentication, network access, or user interaction is required.
Engineers running npm socket.io-parser versions <3.3.3, >=3.4.0 <3.4.2, >=4.0.0 <4.0.5, or >=4.1.0 <4.2.1 should check their installations.