billmcchesney1 / t-vault

Simplified secrets management solution
Apache License 2.0
0 stars 0 forks source link

CVE-2022-2421 (Critical) detected in socket.io-parser-2.3.1.tgz #363

Open mend-for-github-com[bot] opened 1 year ago

mend-for-github-com[bot] commented 1 year ago

CVE-2022-2421 - Critical Severity Vulnerability

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

socket.io protocol parser

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

Path to dependency file: /tvaultui/package.json

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

Dependency Hierarchy: - browser-sync-2.9.12.tgz (Root Library) - socket.io-1.7.4.tgz - :x: **socket.io-parser-2.3.1.tgz** (Vulnerable Library)

Found in HEAD commit: 0f3cd3fd3c5ad14d3c051359006dda186a4202f1

Found in base branch: dev

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 (browser-sync): 2.26.14-y.1


:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.