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

local-portal-0.0.0.tgz: 4 vulnerabilities (highest severity is: 7.5)

mend-for-github-com opened this issue · 0 comments

Vulnerable Library - local-portal-0.0.0.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/localtunnel/node_modules/axios/package.json

Found in HEAD commit: d7bf11a2094a1bba8d2905ddec2cc3c6de26631d

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (local-portal version) Remediation Possible**
WS-2023-0439 High 7.5 axios-0.21.4.tgz Transitive N/A*
CVE-2023-45857 Medium 6.5 axios-0.21.4.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.

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

Details

WS-2023-0439

Vulnerable Library - axios-0.21.4.tgz

Promise based HTTP client for the browser and node.js

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

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/localtunnel/node_modules/axios/package.json

Dependency Hierarchy:

  • local-portal-0.0.0.tgz (Root Library)
    • localtunnel-2.0.2.tgz
      • axios-0.21.4.tgz (Vulnerable Library)

Found in HEAD commit: d7bf11a2094a1bba8d2905ddec2cc3c6de26631d

Found in base branch: main

Vulnerability Details

Axios is vulnerable to Regular Expression Denial of Service (ReDoS). When a manipulated string is provided as input to the format method, the regular expression exhibits a time complexity of O(n^2). Server becomes unable to provide normal service due to the excessive cost and time wasted in processing vulnerable regular expressions.

Publish Date: 2023-10-25

URL: WS-2023-0439

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://nvd.nist.gov/vuln/detail/WS-2023-0439

Release Date: 2023-10-25

Fix Resolution: axios - 1.6.3,0.20.0

CVE-2023-45857

Vulnerable Library - axios-0.21.4.tgz

Promise based HTTP client for the browser and node.js

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

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/localtunnel/node_modules/axios/package.json

Dependency Hierarchy:

  • local-portal-0.0.0.tgz (Root Library)
    • localtunnel-2.0.2.tgz
      • axios-0.21.4.tgz (Vulnerable Library)

Found in HEAD commit: d7bf11a2094a1bba8d2905ddec2cc3c6de26631d

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