Open mend-bolt-for-github[bot] opened 2 years 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.
:information_source: This issue was automatically re-opened by Mend because the vulnerable library in the specific branch(es) has been detected in the Mend inventory.
CVE-2022-2421 - Critical Severity Vulnerability
Vulnerable Libraries - socket.io-parser-3.4.1.tgz, socket.io-parser-4.0.4.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: /packages/cactus-plugin-ledger-connector-sawtooth-socketio/package.json
Path to vulnerable library: /packages/cactus-plugin-ledger-connector-sawtooth-socketio/node_modules/socket.io-parser/package.json,/packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/socket.io-parser/package.json,/packages/cactus-plugin-ledger-connector-fabric-socketio/node_modules/socket.io-parser/package.json
Dependency Hierarchy: - socket.io-2.4.1.tgz (Root Library) - :x: **socket.io-parser-3.4.1.tgz** (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: /packages/cactus-cmd-api-server/package.json
Path to vulnerable library: /packages/cactus-cmd-api-server/node_modules/socket.io-parser/package.json,/node_modules/socket.io-parser/package.json,/packages/cactus-core-api/node_modules/socket.io-parser/package.json,/packages/cactus-plugin-ledger-connector-besu/node_modules/socket.io-parser/package.json
Dependency Hierarchy: - karma-6.3.4.tgz (Root Library) - socket.io-3.1.2.tgz - :x: **socket.io-parser-4.0.4.tgz** (Vulnerable Library)
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.4.2
Direct dependency fix Resolution (socket.io): 2.5.0
Fix Resolution (socket.io-parser): 3.4.2
Direct dependency fix Resolution (karma): 6.3.5
Step up your Open Source Security Game with Mend here