shahul01 / nlk-socket-simple-demo

Chat app with auto typing - React, Socket.IO & Node
https://nlk-socket-simple-demo.vercel.app/chat
2 stars 0 forks source link

socket.io-4.5.2.tgz: 1 vulnerabilities (highest severity is: 7.1) - autoclosed #5

Closed mend-bolt-for-github[bot] closed 2 years ago

mend-bolt-for-github[bot] commented 2 years ago
Vulnerable Library - socket.io-4.5.2.tgz

Path to dependency file: /server/package.json

Path to vulnerable library: /server/node_modules/engine.io/package.json

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (socket.io version) Remediation Available
CVE-2022-41940 High 7.1 engine.io-6.2.0.tgz Transitive N/A*

*For some transitive vulnerabilities, there is no version of direct dependency with a fix. Check the section "Details" below to see if there is a version of transitive dependency where vulnerability is fixed.

Details

CVE-2022-41940 ### Vulnerable Library - engine.io-6.2.0.tgz

The realtime engine behind Socket.IO. Provides the foundation of a bidirectional connection between client and server

Library home page: https://registry.npmjs.org/engine.io/-/engine.io-6.2.0.tgz

Path to dependency file: /server/package.json

Path to vulnerable library: /server/node_modules/engine.io/package.json

Dependency Hierarchy: - socket.io-4.5.2.tgz (Root Library) - :x: **engine.io-6.2.0.tgz** (Vulnerable Library)

Found in base branch: master

### Vulnerability Details

Engine.IO is the implementation of transport-based cross-browser/cross-device bi-directional communication layer for Socket.IO. A specially crafted HTTP request can trigger an uncaught exception on the Engine.IO server, thus killing the Node.js process. This impacts all the users of the engine.io package, including those who uses depending packages like socket.io. There is no known workaround except upgrading to a safe version. There are patches for this issue released in versions 3.6.1 and 6.2.1.

Publish Date: 2022-11-22

URL: CVE-2022-41940

### CVSS 3 Score Details (7.1)

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

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://github.com/socketio/engine.io/security/advisories/GHSA-r7qp-cfhv-p84w

Release Date: 2022-11-22

Fix Resolution: engine.io - 3.6.1,6.2.1

Step up your Open Source Security Game with Mend [here](https://www.whitesourcesoftware.com/full_solution_bolt_github)
mend-bolt-for-github[bot] commented 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.