CVE-2022-2421 (Critical) detected in socket.io-parser-3.4.1.tgz, socket.io-parser-3.3.2.tgz
mend-bolt-for-github opened this issue · comments
CVE-2022-2421 - Critical Severity Vulnerability
Vulnerable Libraries - socket.io-parser-3.4.1.tgz, socket.io-parser-3.3.2.tgz
socket.io-parser-3.4.1.tgz
socket.io protocol parser
Library home page: https://registry.npmjs.org/socket.io-parser/-/socket.io-parser-3.4.1.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/socket.io-parser/package.json
Dependency Hierarchy:
- eleventy-0.12.1.tgz (Root Library)
- browser-sync-2.27.5.tgz
- socket.io-2.4.0.tgz
- ❌ socket.io-parser-3.4.1.tgz (Vulnerable Library)
- socket.io-2.4.0.tgz
- browser-sync-2.27.5.tgz
socket.io-parser-3.3.2.tgz
socket.io protocol parser
Library home page: https://registry.npmjs.org/socket.io-parser/-/socket.io-parser-3.3.2.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/socket.io-client/node_modules/socket.io-parser/package.json
Dependency Hierarchy:
- eleventy-0.12.1.tgz (Root Library)
- browser-sync-2.27.5.tgz
- socket.io-2.4.0.tgz
- socket.io-client-2.4.0.tgz
- ❌ socket.io-parser-3.3.2.tgz (Vulnerable Library)
- socket.io-client-2.4.0.tgz
- socket.io-2.4.0.tgz
- browser-sync-2.27.5.tgz
Found in base branch: master
Vulnerability Details
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.
Publish Date: 2022-10-26
URL: CVE-2022-2421
CVSS 3 Score Details (9.8)
Base Score Metrics:
- Exploitability Metrics:
- Attack Vector: Network
- Attack Complexity: Low
- Privileges Required: None
- User Interaction: None
- Scope: Unchanged
- Impact Metrics:
- Confidentiality Impact: High
- Integrity Impact: High
- Availability Impact: High
Suggested Fix
Type: Upgrade version
Origin: GHSA-qm95-pgcg-qqfq
Release Date: 2022-10-26
Fix Resolution (socket.io-parser): 3.4.2
Direct dependency fix Resolution (@11ty/eleventy): 1.0.0-canary.1
Fix Resolution (socket.io-parser): 3.4.2
Direct dependency fix Resolution (@11ty/eleventy): 1.0.0-canary.1
Step up your Open Source Security Game with Mend here