nexmo-community / client-sdk-tutorials

MIT License
5 stars 10 forks source link

localtunnel-2.0.1.tgz: 7 vulnerabilities (highest severity is: 7.5) #26

Open mend-for-github-com[bot] opened 2 years ago

mend-for-github-com[bot] commented 2 years ago
Vulnerable Library - localtunnel-2.0.1.tgz

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

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

Found in HEAD commit: 691e25809d42cce5a487504aa376638500c5b492

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (localtunnel version) Remediation Possible**
CVE-2021-3807 High 7.5 ansi-regex-5.0.0.tgz Transitive 2.0.2
CVE-2021-3749 High 7.5 axios-0.21.1.tgz Transitive 2.0.2
CVE-2024-28849 Medium 6.5 follow-redirects-1.13.3.tgz Transitive N/A*
CVE-2023-45857 Medium 6.5 axios-0.21.1.tgz Transitive N/A*
CVE-2022-0155 Medium 6.5 follow-redirects-1.13.3.tgz Transitive 2.0.2
CVE-2023-26159 Medium 6.1 follow-redirects-1.13.3.tgz Transitive 2.0.2
CVE-2022-0536 Medium 5.9 follow-redirects-1.13.3.tgz Transitive 2.0.2

*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

CVE-2021-3807 ### Vulnerable Library - ansi-regex-5.0.0.tgz

Regular expression for matching ANSI escape codes

Library home page: https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz

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

Path to vulnerable library: /phone-to-app-swift/node_modules/ansi-regex/package.json,/phone-to-app-objc/node_modules/ansi-regex/package.json,/app-to-app-swift/node_modules/ansi-regex/package.json,/app-to-phone-js/node_modules/ansi-regex/package.json,/app-to-app-js/node_modules/ansi-regex/package.json,/app-to-app-kotlin/node_modules/ansi-regex/package.json,/app-to-app-objc/node_modules/ansi-regex/package.json,/phone-to-app-kotlin/node_modules/ansi-regex/package.json,/app-to-phone-swift/node_modules/ansi-regex/package.json,/app-to-phone-kotlin/node_modules/ansi-regex/package.json,/app-to-phone-objc/node_modules/ansi-regex/package.json,/app-to-phone-java/node_modules/ansi-regex/package.json,/phone-to-app-java/node_modules/ansi-regex/package.json,/phone-to-app-js/node_modules/ansi-regex/package.json,/app-to-app-java/node_modules/ansi-regex/package.json

Dependency Hierarchy: - localtunnel-2.0.1.tgz (Root Library) - yargs-16.2.0.tgz - string-width-4.2.2.tgz - strip-ansi-6.0.0.tgz - :x: **ansi-regex-5.0.0.tgz** (Vulnerable Library)

Found in HEAD commit: 691e25809d42cce5a487504aa376638500c5b492

Found in base branch: main

### Vulnerability Details

ansi-regex is vulnerable to Inefficient Regular Expression Complexity

Publish Date: 2021-09-17

URL: CVE-2021-3807

### 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-93q8-gq69-wqmw

Release Date: 2021-09-17

Fix Resolution (ansi-regex): 5.0.1

Direct dependency fix Resolution (localtunnel): 2.0.2

:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.
CVE-2021-3749 ### Vulnerable Library - axios-0.21.1.tgz

Promise based HTTP client for the browser and node.js

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

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

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

Dependency Hierarchy: - localtunnel-2.0.1.tgz (Root Library) - :x: **axios-0.21.1.tgz** (Vulnerable Library)

Found in HEAD commit: 691e25809d42cce5a487504aa376638500c5b492

Found in base branch: main

### Vulnerability Details

axios is vulnerable to Inefficient Regular Expression Complexity

Publish Date: 2021-08-31

URL: CVE-2021-3749

### 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://huntr.dev/bounties/1e8f07fc-c384-4ff9-8498-0690de2e8c31/

Release Date: 2021-08-31

Fix Resolution (axios): 0.21.2

Direct dependency fix Resolution (localtunnel): 2.0.2

:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.
CVE-2024-28849 ### Vulnerable Library - follow-redirects-1.13.3.tgz

HTTP and HTTPS modules that follow redirects.

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

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

Path to vulnerable library: /app-to-app-kotlin/node_modules/follow-redirects/package.json,/phone-to-app-java/node_modules/follow-redirects/package.json,/phone-to-app-js/node_modules/follow-redirects/package.json,/app-to-phone-js/node_modules/follow-redirects/package.json,/app-to-phone-swift/node_modules/follow-redirects/package.json,/app-to-app-java/node_modules/follow-redirects/package.json,/app-to-phone-kotlin/node_modules/follow-redirects/package.json,/app-to-app-objc/node_modules/follow-redirects/package.json,/phone-to-app-swift/node_modules/follow-redirects/package.json,/app-to-app-swift/node_modules/follow-redirects/package.json,/app-to-phone-objc/node_modules/follow-redirects/package.json,/app-to-app-js/node_modules/follow-redirects/package.json,/phone-to-app-objc/node_modules/follow-redirects/package.json,/phone-to-app-kotlin/node_modules/follow-redirects/package.json,/app-to-phone-java/node_modules/follow-redirects/package.json

Dependency Hierarchy: - localtunnel-2.0.1.tgz (Root Library) - axios-0.21.1.tgz - :x: **follow-redirects-1.13.3.tgz** (Vulnerable Library)

Found in HEAD commit: 691e25809d42cce5a487504aa376638500c5b492

Found in base branch: main

### Vulnerability Details

follow-redirects is an open source, drop-in replacement for Node's `http` and `https` modules that automatically follows redirects. In affected versions follow-redirects only clears authorization header during cross-domain redirect, but keep the proxy-authentication header which contains credentials too. This vulnerability may lead to credentials leak, but has been addressed in version 1.15.6. Users are advised to upgrade. There are no known workarounds for this vulnerability.

Publish Date: 2024-03-14

URL: CVE-2024-28849

### CVSS 3 Score Details (6.5)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: Low - 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: https://github.com/follow-redirects/follow-redirects/security/advisories/GHSA-cxjh-pqwp-8mfp

Release Date: 2024-03-14

Fix Resolution: follow-redirects - 1.15.6

CVE-2023-45857 ### Vulnerable Library - axios-0.21.1.tgz

Promise based HTTP client for the browser and node.js

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

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

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

Dependency Hierarchy: - localtunnel-2.0.1.tgz (Root Library) - :x: **axios-0.21.1.tgz** (Vulnerable Library)

Found in HEAD commit: 691e25809d42cce5a487504aa376638500c5b492

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

CVE-2022-0155 ### Vulnerable Library - follow-redirects-1.13.3.tgz

HTTP and HTTPS modules that follow redirects.

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

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

Path to vulnerable library: /app-to-app-kotlin/node_modules/follow-redirects/package.json,/phone-to-app-java/node_modules/follow-redirects/package.json,/phone-to-app-js/node_modules/follow-redirects/package.json,/app-to-phone-js/node_modules/follow-redirects/package.json,/app-to-phone-swift/node_modules/follow-redirects/package.json,/app-to-app-java/node_modules/follow-redirects/package.json,/app-to-phone-kotlin/node_modules/follow-redirects/package.json,/app-to-app-objc/node_modules/follow-redirects/package.json,/phone-to-app-swift/node_modules/follow-redirects/package.json,/app-to-app-swift/node_modules/follow-redirects/package.json,/app-to-phone-objc/node_modules/follow-redirects/package.json,/app-to-app-js/node_modules/follow-redirects/package.json,/phone-to-app-objc/node_modules/follow-redirects/package.json,/phone-to-app-kotlin/node_modules/follow-redirects/package.json,/app-to-phone-java/node_modules/follow-redirects/package.json

Dependency Hierarchy: - localtunnel-2.0.1.tgz (Root Library) - axios-0.21.1.tgz - :x: **follow-redirects-1.13.3.tgz** (Vulnerable Library)

Found in HEAD commit: 691e25809d42cce5a487504aa376638500c5b492

Found in base branch: main

### Vulnerability Details

follow-redirects is vulnerable to Exposure of Private Personal Information to an Unauthorized Actor

Publish Date: 2022-01-10

URL: CVE-2022-0155

### 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

Origin: https://huntr.dev/bounties/fc524e4b-ebb6-427d-ab67-a64181020406/

Release Date: 2022-01-10

Fix Resolution (follow-redirects): 1.14.7

Direct dependency fix Resolution (localtunnel): 2.0.2

:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.
CVE-2023-26159 ### Vulnerable Library - follow-redirects-1.13.3.tgz

HTTP and HTTPS modules that follow redirects.

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

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

Path to vulnerable library: /app-to-app-kotlin/node_modules/follow-redirects/package.json,/phone-to-app-java/node_modules/follow-redirects/package.json,/phone-to-app-js/node_modules/follow-redirects/package.json,/app-to-phone-js/node_modules/follow-redirects/package.json,/app-to-phone-swift/node_modules/follow-redirects/package.json,/app-to-app-java/node_modules/follow-redirects/package.json,/app-to-phone-kotlin/node_modules/follow-redirects/package.json,/app-to-app-objc/node_modules/follow-redirects/package.json,/phone-to-app-swift/node_modules/follow-redirects/package.json,/app-to-app-swift/node_modules/follow-redirects/package.json,/app-to-phone-objc/node_modules/follow-redirects/package.json,/app-to-app-js/node_modules/follow-redirects/package.json,/phone-to-app-objc/node_modules/follow-redirects/package.json,/phone-to-app-kotlin/node_modules/follow-redirects/package.json,/app-to-phone-java/node_modules/follow-redirects/package.json

Dependency Hierarchy: - localtunnel-2.0.1.tgz (Root Library) - axios-0.21.1.tgz - :x: **follow-redirects-1.13.3.tgz** (Vulnerable Library)

Found in HEAD commit: 691e25809d42cce5a487504aa376638500c5b492

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 (localtunnel): 2.0.2

:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.
CVE-2022-0536 ### Vulnerable Library - follow-redirects-1.13.3.tgz

HTTP and HTTPS modules that follow redirects.

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

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

Path to vulnerable library: /app-to-app-kotlin/node_modules/follow-redirects/package.json,/phone-to-app-java/node_modules/follow-redirects/package.json,/phone-to-app-js/node_modules/follow-redirects/package.json,/app-to-phone-js/node_modules/follow-redirects/package.json,/app-to-phone-swift/node_modules/follow-redirects/package.json,/app-to-app-java/node_modules/follow-redirects/package.json,/app-to-phone-kotlin/node_modules/follow-redirects/package.json,/app-to-app-objc/node_modules/follow-redirects/package.json,/phone-to-app-swift/node_modules/follow-redirects/package.json,/app-to-app-swift/node_modules/follow-redirects/package.json,/app-to-phone-objc/node_modules/follow-redirects/package.json,/app-to-app-js/node_modules/follow-redirects/package.json,/phone-to-app-objc/node_modules/follow-redirects/package.json,/phone-to-app-kotlin/node_modules/follow-redirects/package.json,/app-to-phone-java/node_modules/follow-redirects/package.json

Dependency Hierarchy: - localtunnel-2.0.1.tgz (Root Library) - axios-0.21.1.tgz - :x: **follow-redirects-1.13.3.tgz** (Vulnerable Library)

Found in HEAD commit: 691e25809d42cce5a487504aa376638500c5b492

Found in base branch: main

### Vulnerability Details

Improper Removal of Sensitive Information Before Storage or Transfer in NPM follow-redirects prior to 1.14.8.

Publish Date: 2022-02-09

URL: CVE-2022-0536

### CVSS 3 Score Details (5.9)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: High - 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: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-0536

Release Date: 2022-02-09

Fix Resolution (follow-redirects): 1.14.8

Direct dependency fix Resolution (localtunnel): 2.0.2

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

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