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.
CVE-2023-26159 - Medium Severity Vulnerability
Vulnerable Libraries - follow-redirects-1.7.0.tgz, follow-redirects-1.6.1.tgz
follow-redirects-1.7.0.tgz
HTTP and HTTPS modules that follow redirects.
Library home page: https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.7.0.tgz
Path to dependency file: /E-voting-using-blockchain/evoting app/package.json
Path to vulnerable library: /evoting app/node_modules/follow-redirects/package.json
Dependency Hierarchy: - lite-server-2.4.0.tgz (Root Library) - browser-sync-2.26.5.tgz - localtunnel-1.9.1.tgz - axios-0.17.1.tgz - :x: **follow-redirects-1.7.0.tgz** (Vulnerable Library)
follow-redirects-1.6.1.tgz
HTTP and HTTPS modules that follow redirects.
Library home page: https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.6.1.tgz
Path to dependency file: /E-voting-using-blockchain/evoting app/src/bower_components/bootstrap/package.json
Path to vulnerable library: /evoting app/src/bower_components/bootstrap/node_modules/follow-redirects/package.json
Dependency Hierarchy: - karma-3.1.4.tgz (Root Library) - http-proxy-1.17.0.tgz - :x: **follow-redirects-1.6.1.tgz** (Vulnerable Library)
Found in HEAD commit: 3c02898f89d78283ce791eb1b53b2b5a667681ad
Found in base branch: master
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 (lite-server): 2.5.0
Fix Resolution (follow-redirects): 1.15.4
Direct dependency fix Resolution (karma): 4.0.0
Step up your Open Source Security Game with Mend here