10.0
CRITICAL
CVE-2022-2421
Socket.io vulnerability: Type Validation Bypass and Object Overwrite
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.

INFO

Published Date :

Oct. 26, 2022, 10:15 a.m.

Last Modified :

Jan. 2, 2024, 7:15 p.m.

Remotely Exploitable :

Yes !

Impact Score :

6.0

Exploitability Score :

3.9
Public PoC/Exploit Available at Github

CVE-2022-2421 has a 1 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2022-2421 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Socket socket.io-parser
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2022-2421.

URL Resource
https://csirt.divd.nl/CVE-2022-2421 Third Party Advisory
https://csirt.divd.nl/DIVD-2022-00045 Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

CMake Shell Perl C++ C Batchfile CSS Makefile M4 Python

Updated: 6 months, 2 weeks ago
34 stars 0 fork 0 watcher
Born at : Feb. 1, 2024, 11:43 a.m. This repo has been linked 71 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2022-2421 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2022-2421 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Jan. 02, 2024

    Action Type Old Value New Value
    Changed 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. 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.
  • CVE Modified by [email protected]

    Nov. 07, 2023

    Action Type Old Value New Value
    Changed 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. 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.
  • Modified Analysis by [email protected]

    Feb. 05, 2023

    Action Type Old Value New Value
    Changed Reference Type https://csirt.divd.nl/CVE-2022-2421 No Types Assigned https://csirt.divd.nl/CVE-2022-2421 Third Party Advisory
    Changed Reference Type https://csirt.divd.nl/DIVD-2022-00045 No Types Assigned https://csirt.divd.nl/DIVD-2022-00045 Third Party Advisory
  • CVE Modified by [email protected]

    Jan. 06, 2023

    Action Type Old Value New Value
    Removed Reference https://csirt.divd.nl/cases/DIVD-2022-00045 [Broken Link]
    Removed Reference https://csirt.divd.nl/cves/CVE-2022-2421 [Broken Link]
    Added Reference https://csirt.divd.nl/DIVD-2022-00045 [No Types Assigned]
    Added Reference https://csirt.divd.nl/CVE-2022-2421 [No Types Assigned]
  • Reanalysis by [email protected]

    Nov. 02, 2022

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:socket:socket.io-parser:*:*:*:*:*:node.js:*:* versions up to (excluding) 4.2.1 OR *cpe:2.3:a:socket:socket.io-parser:*:*:*:*:*:node.js:*:* versions up to (excluding) 4.0.5 *cpe:2.3:a:socket:socket.io-parser:*:*:*:*:*:node.js:*:* versions from (including) 4.1.0 up to (excluding) 4.2.1
  • Initial Analysis by [email protected]

    Oct. 28, 2022

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://csirt.divd.nl/cases/DIVD-2022-00045 No Types Assigned https://csirt.divd.nl/cases/DIVD-2022-00045 Broken Link
    Changed Reference Type https://csirt.divd.nl/cves/CVE-2022-2421 No Types Assigned https://csirt.divd.nl/cves/CVE-2022-2421 Broken Link
    Added CWE NIST NVD-CWE-noinfo
    Added CPE Configuration OR *cpe:2.3:a:socket:socket.io-parser:*:*:*:*:*:node.js:*:* versions up to (excluding) 4.2.1
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2022-2421 is associated with the following CWEs:

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.21 }} -0.00%

score

0.58804

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability