kapseliboi / Node-Data

Node-Data is a Node.js javascript framework for fast and reliable development of next generation apps and micro services targeting scale.
http://ratneshsinghparihar.github.io/Node-Data
MIT License
0 stars 0 forks source link

CVE-2022-2421 (Critical) detected in socket.io-parser-3.1.3.tgz #117

Open mend-bolt-for-github[bot] opened 11 months ago

mend-bolt-for-github[bot] commented 11 months ago

CVE-2022-2421 - Critical Severity Vulnerability

Vulnerable Library - socket.io-parser-3.1.3.tgz

socket.io protocol parser

Library home page: https://registry.npmjs.org/socket.io-parser/-/socket.io-parser-3.1.3.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/socket.io-parser/package.json

Dependency Hierarchy: - socket.io-2.0.4.tgz (Root Library) - :x: **socket.io-parser-3.1.3.tgz** (Vulnerable Library)

Found in HEAD commit: 289c77565fc637d4c0e4bf4a9a1e81df96cd190a

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-25

URL: CVE-2022-2421

CVSS 3 Score Details (10.0)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: None - Scope: Changed - Impact Metrics: - Confidentiality Impact: High - Integrity Impact: High - Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://github.com/advisories/GHSA-qm95-pgcg-qqfq

Release Date: 2022-10-26

Fix Resolution (socket.io-parser): 3.3.3

Direct dependency fix Resolution (socket.io): 2.2.0


Step up your Open Source Security Game with Mend here