Edwindwin / 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 0 forks source link

CVE-2024-28849 (Medium) detected in follow-redirects-1.14.5.tgz, follow-redirects-1.13.3.tgz - autoclosed #69

Closed mend-bolt-for-github[bot] closed 5 months ago

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

CVE-2024-28849 - Medium Severity Vulnerability

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

follow-redirects-1.14.5.tgz

HTTP and HTTPS modules that follow redirects.

Library home page: https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.5.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.1.tgz - ms-rest-nodeauth-3.1.0.tgz - adal-node-0.2.3.tgz - axios-0.21.4.tgz - :x: **follow-redirects-1.14.5.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: 5af50243cdecb3cfa77a106e482c2031bc8ab7da

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


Step up your Open Source Security Game with Mend here

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

:information_source: This issue was automatically closed by Mend because it is a duplicate of an existing issue: #80