CVE-2022-2421

Socket.io - Improper type validation in attachment parsing

State
Published
Severity
10.0 Critical
Published
Oct 25, 2022
Updated
Mar 11, 2025
Reserved
Jul 15, 2022

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.110.0 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:HDIVD

Weaknesses

Affected Products

ProductVersions
Socket.io-ParserSocket.io
  • 4.x to before 4.2.1Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.