CVE-2022-2421

Critical

Description

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.

SeverityCritical
CVSS10.0
Exploit probability—
ProductSocket.io-parser
PublishedOct 26, 2022
First seenOct 26, 2022
Weakness typeCWE-89SQL injection

How to fix

Update
  • socket socket.io-parser3.3.3, 3.4.2, 4.0.5, 4.2.1 or later
  • socket.io-parser4.0.5, 4.2.1, 3.3.3, 3.4.2 or later

Affected products

ProductAffected versionsFixed in
socket socket.io-parserv < 3.3.3, 3.4.0 ≤ v < 3.4.2, 4.0.0 ≤ v < 4.0.5, 4.1.0 ≤ v < 4.2.13.3.3, 3.4.2, 4.0.5, 4.2.1
socket.io-parsernpm4.0.0 ≤ v < 4.0.5, 4.1.0 ≤ v < 4.2.1, v < 3.3.3, 3.4.0 ≤ v < 3.4.24.0.5, 4.2.1, 3.3.3, 3.4.2

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.