hassanebry / serverless-full-stack-apps-azure-sql

Full stack solution using Vue.js, Azure Static Web Apps, Azure Function, Azure SQL Database and a microservice architecture to monitor in real-time public transportation data, create a geofence and send notification when geofence is activated
MIT License
0 stars 1 forks source link

CVE-2023-26159 (High) detected in follow-redirects-1.13.2.tgz, follow-redirects-1.13.3.tgz #50

Open mend-bolt-for-github[bot] opened 6 months ago

mend-bolt-for-github[bot] commented 6 months ago

CVE-2023-26159 - High Severity Vulnerability

Vulnerable Libraries - follow-redirects-1.13.2.tgz, follow-redirects-1.13.3.tgz

follow-redirects-1.13.2.tgz

HTTP and HTTPS modules that follow redirects.

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

Path to dependency file: /azure-function/node/package.json

Path to vulnerable library: /azure-function/node/node_modules/follow-redirects/package.json

Dependency Hierarchy: - mssql-6.3.1.tgz (Root Library) - tedious-6.7.0.tgz - ms-rest-nodeauth-2.0.2.tgz - ms-rest-js-1.11.2.tgz - axios-0.21.1.tgz - :x: **follow-redirects-1.13.2.tgz** (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: /azure-static-web-app/api/node/package.json

Path to vulnerable library: /azure-static-web-app/api/node/node_modules/follow-redirects/package.json

Dependency Hierarchy: - mssql-6.3.1.tgz (Root Library) - tedious-6.7.0.tgz - ms-rest-nodeauth-2.0.2.tgz - ms-rest-js-1.11.2.tgz - axios-0.21.1.tgz - :x: **follow-redirects-1.13.3.tgz** (Vulnerable Library)

Found in HEAD commit: 0e481e085432393b0f64c47b92319ab02ac21795

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

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: Low - Integrity Impact: Low - Availability Impact: Low

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 (mssql): 6.3.2

Fix Resolution (follow-redirects): 1.15.4

Direct dependency fix Resolution (mssql): 6.3.2


Step up your Open Source Security Game with Mend here