Nexmo / stitch-js-quickstart

A repository containing everything you need when getting started with the Nexmo Stitch API and the JavaScript SDKs
5 stars 7 forks source link

nexmo-client-4.1.0.tgz: 1 vulnerabilities (highest severity is: 6.5) #41

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

mend-for-github-com[bot] commented 2 years ago
Vulnerable Library - nexmo-client-4.1.0.tgz

Path to dependency file: /simple-conversation/package.json

Path to vulnerable library: /simple-conversation/node_modules/engine.io/package.json,/utilizing-events/node_modules/engine.io/package.json,/enable-audio/node_modules/engine.io/package.json

Found in HEAD commit: e9e491a76eb5cd18d7ae16768f36b599bd0d9d08

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (nexmo-client version) Remediation Available
CVE-2022-41940 Medium 6.5 engine.io-3.6.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-3.6.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-3.6.0.tgz

Path to dependency file: /simple-conversation/package.json

Path to vulnerable library: /simple-conversation/node_modules/engine.io/package.json,/utilizing-events/node_modules/engine.io/package.json,/enable-audio/node_modules/engine.io/package.json

Dependency Hierarchy: - nexmo-client-4.1.0.tgz (Root Library) - socket.io-2.5.0.tgz - :x: **engine.io-3.6.0.tgz** (Vulnerable Library)

Found in HEAD commit: e9e491a76eb5cd18d7ae16768f36b599bd0d9d08

Found in base branch: main

### 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 (6.5)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: Low - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: None - Integrity Impact: None - 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

mend-for-github-com[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.

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

: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.