camcrosbie / Angular-GettingStarted

Sample Angular application used in the "Angular: Getting Started" course: http://bit.ly/Angular-GettingStarted
MIT License
0 stars 0 forks source link

CVE-2022-2421 (Critical) detected in socket.io-parser-4.0.4.tgz #65

Open mend-bolt-for-github[bot] opened 2 years ago

mend-bolt-for-github[bot] commented 2 years ago

CVE-2022-2421 - Critical Severity Vulnerability

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

socket.io protocol parser

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

Path to dependency file: /APM-Final/package.json

Path to vulnerable library: /APM-Final/node_modules/socket.io-parser/package.json,/APM-Start/node_modules/socket.io-parser/package.json

Dependency Hierarchy: - karma-6.3.2.tgz (Root Library) - socket.io-3.1.2.tgz - :x: **socket.io-parser-4.0.4.tgz** (Vulnerable Library)

Found in HEAD commit: b46d7af5159dce3099396a98e8b99a89e538e1bc

Found in base branch: main

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

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): 4.0.5

Direct dependency fix Resolution (karma): 6.3.3


Step up your Open Source Security Game with Mend here