Skip to content

client-sdk-1.0.3.tgz: 2 vulnerabilities (highest severity is: 6.5) - autoclosed #29

@mend-for-github-com

Description

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

Path to dependency file: /app-to-app-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

Found in HEAD commit: 1f5c07cd09a3841692621d957a718836aacb7558

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (client-sdk version) Remediation Possible**
CVE-2023-45857 Medium 6.5 axios-1.4.0.tgz Transitive 1.3.1
CVE-2023-26159 Medium 6.1 follow-redirects-1.15.2.tgz Transitive 1.1.0

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

Details

CVE-2023-45857

Vulnerable Library - axios-1.4.0.tgz

Library home page: https://registry.npmjs.org/axios/-/axios-1.4.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.0.3.tgz (Root Library)
    • axios-1.4.0.tgz (Vulnerable Library)

Found in HEAD commit: 1f5c07cd09a3841692621d957a718836aacb7558

Found in base branch: main

Vulnerability Details

An issue discovered in Axios 1.5.1 inadvertently reveals the confidential XSRF-TOKEN stored in cookies by including it in the HTTP header X-XSRF-TOKEN for every request made to any host allowing attackers to view sensitive information.

Publish Date: 2023-11-08

URL: CVE-2023-45857

CVSS 3 Score Details (6.5)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: Required
    • 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

Release Date: 2023-11-08

Fix Resolution (axios): 1.6.0

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

⛑️ Automatic Remediation will be attempted for this issue.

CVE-2023-26159

Vulnerable Library - follow-redirects-1.15.2.tgz

HTTP and HTTPS modules that follow redirects.

Library home page: https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.2.tgz

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

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

Dependency Hierarchy:

  • client-sdk-1.0.3.tgz (Root Library)
    • axios-1.4.0.tgz
      • follow-redirects-1.15.2.tgz (Vulnerable Library)

Found in HEAD commit: 1f5c07cd09a3841692621d957a718836aacb7558

Found in base branch: main

Vulnerability Details

Versions of the package follow-redirects before 1.15.4 are vulnerable to Improper Input Validation due to the improper handling of URLs by the url.parse() function. When new URL() throws an error, it can be manipulated to misinterpret the hostname. An attacker could exploit this weakness to redirect traffic to a malicious site, potentially leading to information disclosure, phishing attacks, or other security breaches.

Publish Date: 2024-01-02

URL: CVE-2023-26159

CVSS 3 Score Details (6.1)

Base Score Metrics:

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://www.cve.org/CVERecord?id=CVE-2023-26159

Release Date: 2024-01-02

Fix Resolution (follow-redirects): 1.15.4

Direct dependency fix Resolution (@vonage/client-sdk): 1.1.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