vipinsun / cactus

Hyperledger Cactus is a new approach to the blockchain interoperability problem
https://wiki.hyperledger.org/display/cactus
Apache License 2.0
0 stars 1 forks source link

CVE-2024-38355 (High) detected in socket.io-3.1.2.tgz, socket.io-2.4.1.tgz #415

Open mend-bolt-for-github[bot] opened 1 week ago

mend-bolt-for-github[bot] commented 1 week ago

CVE-2024-38355 - High Severity Vulnerability

Vulnerable Libraries - socket.io-3.1.2.tgz, socket.io-2.4.1.tgz

socket.io-3.1.2.tgz

node.js realtime framework server

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

Path to dependency file: /package.json

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

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

socket.io-2.4.1.tgz

node.js realtime framework server

Library home page: https://registry.npmjs.org/socket.io/-/socket.io-2.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/package.json,/packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/socket.io/package.json,/packages/cactus-plugin-ledger-connector-fabric-socketio/node_modules/socket.io/package.json

Dependency Hierarchy: - :x: **socket.io-2.4.1.tgz** (Vulnerable Library)

Found in HEAD commit: ceec9f73fd05cfdbf0061d53c9d0c42d43e85d22

Found in base branch: master

Vulnerability Details

Socket.IO is an open source, real-time, bidirectional, event-based, communication framework. A specially crafted Socket.IO packet can trigger an uncaught exception on the Socket.IO server, thus killing the Node.js process. This issue is fixed by commit `15af22fc22` which has been included in `socket.io@4.6.2` (released in May 2023). The fix was backported in the 2.x branch as well with commit `d30630ba10`. Users are advised to upgrade. Users unable to upgrade may attach a listener for the "error" event to catch these errors.

Publish Date: 2024-06-19

URL: CVE-2024-38355

CVSS 3 Score Details (7.3)

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://github.com/socketio/socket.io/security/advisories/GHSA-25hc-qcg6-38wj

Release Date: 2024-06-19

Fix Resolution (socket.io): 4.6.2

Direct dependency fix Resolution (karma): 6.3.5


Step up your Open Source Security Game with Mend here