billmcchesney1 / hadoop

Mirror of Apache Hadoop
Apache License 2.0
0 stars 0 forks source link

CVE-2022-2421 (Critical) detected in socket.io-parser-2.2.4.tgz, socket.io-parser-2.2.2.tgz - autoclosed #319

Closed mend-for-github-com[bot] closed 3 weeks ago

mend-for-github-com[bot] commented 8 months ago

CVE-2022-2421 - Critical Severity Vulnerability

Vulnerable Libraries - socket.io-parser-2.2.4.tgz, socket.io-parser-2.2.2.tgz

socket.io-parser-2.2.4.tgz

socket.io protocol parser

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

Path to dependency file: /hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/package.json

Path to vulnerable library: /hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/node_modules/socket.io-parser/package.json

Dependency Hierarchy: - testem-0.9.11.tgz (Root Library) - socket.io-pure-1.3.12.tgz - :x: **socket.io-parser-2.2.4.tgz** (Vulnerable Library)

socket.io-parser-2.2.2.tgz

socket.io protocol parser

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

Path to dependency file: /hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/package.json

Path to vulnerable library: /hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/node_modules/socket.io-adapter/node_modules/socket.io-parser/package.json

Dependency Hierarchy: - testem-0.9.11.tgz (Root Library) - socket.io-pure-1.3.12.tgz - socket.io-adapter-0.3.1.tgz - :x: **socket.io-parser-2.2.2.tgz** (Vulnerable Library)

Found in HEAD commit: 6dcd8400219941dcbd7fb0f6b980cc2c6a2a6b0a

Found in base branch: trunk

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

Direct dependency fix Resolution (testem): 2.2.0

Fix Resolution (socket.io-parser): 3.3.3

Direct dependency fix Resolution (testem): 2.2.0


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

mend-for-github-com[bot] commented 3 weeks ago

:heavy_check_mark: This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.