Vonage-Community / sample-mongodb-vonage-integration-restaurant-demo

This demo shows off a more full-fledged way to integrate Vonage Verify, Vonage Messages, and the Vonage Meetings API in a structured application. It is powered by MongoDB's Atlas cloud database service, and can be managed by any MongoDB-compatible suite of tools.
Apache License 2.0
0 stars 0 forks source link

server-sdk-3.3.0.tgz: 1 vulnerabilities (highest severity is: 7.5) #3

Open mend-for-github-com[bot] opened 10 months ago

mend-for-github-com[bot] commented 10 months ago
Vulnerable Library - server-sdk-3.3.0.tgz

Path to dependency file: /webapp/server/package.json

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

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (server-sdk version) Remediation Possible**
CVE-2022-25883 High 7.5 semver-7.5.0.tgz Transitive 3.4.0

**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation

Details

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: /webapp/server/package.json

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

Dependency Hierarchy: - server-sdk-3.3.0.tgz (Root Library) - auth-1.2.0.tgz - jwt-1.2.0.tgz - jsonwebtoken-9.0.0.tgz - :x: **semver-7.5.0.tgz** (Vulnerable Library)

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 (7.5)

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

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://github.com/advisories/GHSA-c2qf-rxjj-qqgw

Release Date: 2023-06-21

Fix Resolution (semver): 7.5.2

Direct dependency fix Resolution (@vonage/server-sdk): 3.4.0

:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.

:rescue_worker_helmet:Automatic Remediation will be attempted for this issue.