Vonage-Community / reference-client_sdk-ios-android-js-node-deno-usecases

This is a Monorepo containing a collection of real world reference projects for the Vonage Client SDK's for Voice and Chat that show a numer of usecases.
1 stars 2 forks source link

cs-client-file:packages/cs-client.tgz: 2 vulnerabilities (highest severity is: 5.3) #1

Closed mend-for-github-com[bot] closed 1 year ago

mend-for-github-com[bot] commented 1 year ago
Vulnerable Library - cs-client-file:packages/cs-client.tgz

Path to vulnerable library: /node_modules/semver/package.json

Found in HEAD commit: 8d569cea6ca05a7e4131bc3d5d13b3441b327e58

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (cs-client-file:packages/cs-client.tgz version) Remediation Available
CVE-2023-26115 Medium 5.3 word-wrap-1.2.3.tgz Transitive N/A*
CVE-2022-25883 Medium 5.3 semver-7.5.0.tgz Transitive N/A*

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

Details

CVE-2023-26115 ### Vulnerable Library - word-wrap-1.2.3.tgz

Wrap words to a specified length.

Library home page: https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/word-wrap/package.json

Dependency Hierarchy: - cs-client-file:packages/cs-client.tgz (Root Library) - eslint-7.32.0.tgz - optionator-0.9.1.tgz - :x: **word-wrap-1.2.3.tgz** (Vulnerable Library)

Found in HEAD commit: 8d569cea6ca05a7e4131bc3d5d13b3441b327e58

Found in base branch: main

### Vulnerability Details

All versions of the package word-wrap are vulnerable to Regular Expression Denial of Service (ReDoS) due to the usage of an insecure regular expression within the result variable.

Publish Date: 2023-06-22

URL: CVE-2023-26115

### CVSS 3 Score Details (5.3)

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

For more information on CVSS3 Scores, click here.

CVE-2022-25883 ### Vulnerable Library - semver-7.5.0.tgz

Library home page: https://registry.npmjs.org/semver/-/semver-7.5.0.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/semver/package.json

Dependency Hierarchy: - cs-client-file:packages/cs-client.tgz (Root Library) - eslint-7.32.0.tgz - :x: **semver-7.5.0.tgz** (Vulnerable Library)

Found in HEAD commit: 8d569cea6ca05a7e4131bc3d5d13b3441b327e58

Found in base branch: main

### Vulnerability Details

Versions of the package semver before 7.5.2 are vulnerable to Regular Expression Denial of Service (ReDoS) via the function new Range, when untrusted user data is provided as a range.

Publish Date: 2023-06-21

URL: CVE-2022-25883

### CVSS 3 Score Details (5.3)

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

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Release Date: 2023-06-21

Fix Resolution: semver - 7.5.2