Skip to content

client-sdk-1.3.1.tgz: 3 vulnerabilities (highest severity is: 7.5) - autoclosed #64

@mend-for-github-com

Description

@mend-for-github-com
Vulnerable Library - client-sdk-1.3.1.tgz

Path to dependency file: /app-to-phone-js/package.json

Path to vulnerable library: /app-to-phone-js/package.json,/app-to-app-js/package.json,/phone-to-app-js/package.json

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (client-sdk version) Remediation Possible**
CVE-2024-39338 High 7.5 axios-1.6.8.tgz Transitive 1.5.0
CVE-2024-37890 High 7.5 ws-8.11.0.tgz Transitive 1.4.0
CVE-2024-57965 Low 0.0 axios-1.6.8.tgz Transitive 1.5.0

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

Details

CVE-2024-39338

Vulnerable Library - axios-1.6.8.tgz

Library home page: https://registry.npmjs.org/axios/-/axios-1.6.8.tgz

Path to dependency file: /app-to-app-js/package.json

Path to vulnerable library: /app-to-app-js/package.json,/app-to-phone-js/package.json,/phone-to-app-js/package.json

Dependency Hierarchy:

  • client-sdk-1.3.1.tgz (Root Library)
    • axios-1.6.8.tgz (Vulnerable Library)

Found in base branch: main

Vulnerability Details

axios 1.7.2 allows SSRF via unexpected behavior where requests for path relative URLs get processed as protocol relative URLs.

Publish Date: 2024-08-09

URL: CVE-2024-39338

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: High
    • Integrity Impact: None
    • Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-8hc4-vh64-cxmj

Release Date: 2024-08-09

Fix Resolution (axios): 1.7.4

Direct dependency fix Resolution (@vonage/client-sdk): 1.5.0

⛑️ Automatic Remediation will be attempted for this issue.

CVE-2024-37890

Vulnerable Library - ws-8.11.0.tgz

Simple to use, blazing fast and thoroughly tested websocket client and server for Node.js

Library home page: https://registry.npmjs.org/ws/-/ws-8.11.0.tgz

Path to dependency file: /app-to-phone-js/package.json

Path to vulnerable library: /app-to-phone-js/package.json,/app-to-app-js/package.json,/phone-to-app-js/package.json

Dependency Hierarchy:

  • client-sdk-1.3.1.tgz (Root Library)
    • socket.io-client-4.7.5.tgz
      • engine.io-client-6.5.3.tgz
        • ws-8.11.0.tgz (Vulnerable Library)

Found in base branch: main

Vulnerability Details

ws is an open source WebSocket client and server for Node.js. A request with a number of headers exceeding theserver.maxHeadersCount threshold could be used to crash a ws server. The vulnerability was fixed in ws@8.17.1 (e55e510) and backported to ws@7.5.10 (22c2876), ws@6.2.3 (eeb76d3), and ws@5.2.4 (4abd8f6). In vulnerable versions of ws, the issue can be mitigated in the following ways: 1. Reduce the maximum allowed length of the request headers using the --max-http-header-size=size and/or the maxHeaderSize options so that no more headers than the server.maxHeadersCount limit can be sent. 2. Set server.maxHeadersCount to 0 so that no limit is applied.

Publish Date: 2024-06-17

URL: CVE-2024-37890

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: GHSA-3h5v-q93c-6h6q

Release Date: 2024-06-17

Fix Resolution (ws): 8.17.1

Direct dependency fix Resolution (@vonage/client-sdk): 1.4.0

⛑️ Automatic Remediation will be attempted for this issue.

CVE-2024-57965

Vulnerable Library - axios-1.6.8.tgz

Library home page: https://registry.npmjs.org/axios/-/axios-1.6.8.tgz

Path to dependency file: /app-to-app-js/package.json

Path to vulnerable library: /app-to-app-js/package.json,/app-to-phone-js/package.json,/phone-to-app-js/package.json

Dependency Hierarchy:

  • client-sdk-1.3.1.tgz (Root Library)
    • axios-1.6.8.tgz (Vulnerable Library)

Found in base branch: main

Vulnerability Details

In axios before 1.7.8, lib/helpers/isURLSameOrigin.js does not use a URL object when determining an origin, and has a potentially unwanted setAttribute('href',href) call. NOTE: some parties feel that the code change only addresses a warning message from a SAST tool and does not fix a vulnerability.

Publish Date: 2025-01-29

URL: CVE-2024-57965

CVSS 3 Score Details (0.0)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: High
    • Privileges Required: None
    • User Interaction: None
    • Scope: Changed
  • Impact Metrics:
    • Confidentiality Impact: None
    • Integrity Impact: None
    • Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Release Date: 2025-01-29

Fix Resolution (axios): 1.7.9

Direct dependency fix Resolution (@vonage/client-sdk): 1.5.0

⛑️ Automatic Remediation will be attempted for this issue.


⛑️Automatic Remediation will be attempted for this issue.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions